My students get syntax coloring in vim, but I don't!
Even when I "syntax on" as a command syntax on or put it in my .vimrc and/or .exrc.
The terminal is xterm.
I am missing something in vim or is there something in my .profile -- it has been growing for 30 years... And I've been hacking at this problem for a year.
Thanks for listening
\vim -u /dev/nulland run:syntax on? Are the tildes blue, by the way? Do you get colors in the same terminal with other programs, e.g.ls --color? – Gilles May 3 '12 at 23:53tput colors(from the shell) print? What about:echo has("syntax")inside vim? – Mikel May 4 '12 at 2:56alias vi='vim'so I can't type vi. Not without overriding the alias. I'd only typed 'vi' once or twice before adding the alias to my .bashrc, but it sure is jarring to not see my familar colors and setup. – lornix Jul 9 '12 at 11:44