Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Getting VIM syntax colours' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Getting VIM syntax colours
Authored by: bungee107 on May 01, '01 11:27:02PM

To get VIM syntax colours you need to have the ncurses libraries installed. You can get them from or various mirrors of this archive. Download the source and compile it. Now recompile vim. You may need to set your TERM environment variable to an ansi terminal. Under the bash shell you do this by executing <TERM=ansi>, then <export TERM>. I don't know how to do it under csh/tcsh but I am sure it is simmilar if not the same. Setting your term to ansi has some other side affects. SSH requires a terminal that supports 'cursors'. ANSI terminals do but the termcap implimentation of 'ANSI' under MacOSX apparently doesn't. Fortunatly ssh will default to vt100 if it doesn't understand your terminal type.


[ Reply to This | # ]