AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  vim with colored syntax highlighting

    Posted 03/17/09 05:29 AM

    Originally posted by: keyboarder2k


    Hello,

    I'd like to use vim (from aix linux toolbox) with colored syntax highlighting for shell-scrips, html, php and perl. How can I do this?

    I installed vim-common and vim-enhanced, but when I edit a file and type ":syntax enable" it only gets grey, black, bold ... but not colored. Why doesn't it work?

    Thanks for your help,
    Janko

    P.S.: GNU ls is installed and "ls --color" is working well.
    #AIX-Forum


  • 2.  Re: vim with colored syntax highlighting

    Posted 03/18/09 09:02 AM

    Originally posted by: nagger


    I use to use this and from memory I had to use an aixterm (not xterm) and it is critical to get the TERM set right.

    I have not read the details but this article looks like what you need:
    http://www.ibm.com/developerworks/aix/library/au-speakingunix_vim/index.html

    Hope this helps, N
    #AIX-Forum