Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .