1

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.

http://code.google.com/p/vimcolorschemetest/source/browse/colors/blackboard.vim?r=2

http://files.werx.dk/wombat.vim

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?

2
  • The first link (code.google.com/...) is a 404 for me. Commented Jun 16, 2010 at 2:50
  • @stefan it is fixed.
    – person
    Commented Jun 16, 2010 at 3:12

1 Answer 1

0

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
2
  • I'm trying CSApprox right now. Will see how that works.
    – person
    Commented Jun 16, 2010 at 3:13
  • Meh, I"ll just edit it myself.
    – person
    Commented Jun 16, 2010 at 3:22

You must log in to answer this question.

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