You are not logged in.
Hello all
Someone please tell me how to get syntax highlight working under VIM.
I've already configured my .vimrc to enable syntax, but VIM is not highlighting my files.
TIA
Offline
Before you enter vim, what is the output of "echo $TERM".
When inside vim, what is the output ":set ft" and ":set syntax"?
Offline
Hi,
$ echo $TERM
xterm
And
:set ft
filetype=php
:set syntax
syntax=php
Using aterm does work! But is there any option to enable colors under xterm?
thanks
Before you enter vim, what is the output of "echo $TERM".
When inside vim, what is the output ":set ft" and ":set syntax"?
Offline
the terminal type 'xterm' is a mono terminal. You need to change it to be 'xterm-color' or 'xterm-256color'.
This can be done via your ~/.Xdefaults like so:
xterm*termName: xterm-256color
Less properly, you can use "export TERM=xterm-256color" in bashrc or something.
Offline
Wow, thank you very much!!!! Working fine now
Offline