atstake atstake wrote:
I have a white background and I set background color as "dark" which
is not really eye-candy. I do lots of sh/awk/sed/perl/C/make coding
and also use vim for mutt and also writing plain text documents, edit
conf/rc files etc. Which color would be the best for white background
for code syntax highlighting and also for mutt? I really don't care
about color for plain-text as long as it's black on white background.

Vim version: 7.0.42 on OpenBSD 4.0.

Thanks.


With a white background in Console Vim, the 'background' option should be set to "light" in order to tell Vim that the background is light. Console Vim cannot always guess that. (In gvim, black text on white background is the default.)

You may test the various colourschemes distributed with Vim, or available in the Scripts section at vim-online, by using

        :colourscheme <name>

where <name> is the colourscheme name: for instance,

        :colourscheme desert

will invoke $VIMRUNTIME/colors/desert.vim; if you install, let's say, some custom scheme as ~/.vim/colors/foobar.vim (on Unix) or $HOME/vimfiles/colors/foobar.vim (on Windows), you should use ":colorscheme foobar" in order to load it.

Once you find a colorscheme which pleases you (or if you write your own), you can place the appropriate line in your vimrc.


Best regards,
Tony.
--
"Oh, no!  NOT the Spanish Inquisition!"
"NOBODY expects the Spanish Inquisition!!!"
                                -- Monty Python sketch --
"Oh, no!  NOT another option!"
                                -- Discussion in vim-dev mailing list --

Reply via email to