Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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.

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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