I spend a lot of my time in vim, usually on some sort of debian/ubuntu OS. I've recently started playing with a Solaris 11 Express server and wondered if it's possible to enable coloured syntax-highlighting in vim.

I've copied a lot of my vimrc and .bashrc settings over from Ubuntu, and it works mostly how I like it. However, syntax highlighting on Solaris remains an odd sort of greyscale, rather than coloured.

The compile options in vim --version on both instances look to be similar, and the vimrc files are similar between both.

Is there anything I need configure or add to my installation to enable coloured syntax-highlighting?

link|improve this question
feedback

1 Answer

up vote 3 down vote accepted

Try setting your TERM environment variable to something else that supports more colors. I don't currently have access to a solaris host, but I think xtermc may be supported.

link|improve this answer
I had a similar problem, and wow, INSTANT fix. Thank you. – VarLogRant Apr 26 '11 at 12:59
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.