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 was having a bit of trouble reading the dark red strings of Vim's default color scheme, so I decided to switch to a different one.

However, when I set my color schemes to these, not only do they not come out correctly (for example, comments are bright blue), but these 2 somehow come out looking exactly the same!

Am I doing something wrong, or are these colors restricted in the terminal so default colors are being chosen?

share|improve this question
The first link ( is a 404 for me. – Stefan Lasiewski Jun 16 '10 at 2:50
@stefan it is fixed. – person Jun 16 '10 at 3:12
up vote 0 down vote accepted

Couldn't load the first link. The second link changes the colors for the gui (i.e., for gVim) only, not the colors for vim in a terminal

Look up the docs for the 'highlight' command, which will show you that guifg and guibg are options that set the color for text foreground and background in gVim, and ctermfg and ctermbg are the corresponding options to set colors in terminal vim.

So if you wanted to make Comments in both terminal and gui versions have the same colors you might issue a command like this:

  :hi Comment ctermfg=Cyan guifg=Cyan ctermbg=black guibg=black
share|improve this answer
I'm trying CSApprox right now. Will see how that works. – person Jun 16 '10 at 3:13
Meh, I"ll just edit it myself. – person Jun 16 '10 at 3:22

You must log in to answer this question.

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