[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vim: available colors?



On Tue, 30 Sep 2003 12:42:07 -0400, Derrick 'dman' Hudson <dman@dman13.dyndns.org> penned:
> 
> In that case, you need to put "set background=3Ddark" in your vimrc to
> correct the problem.  The thing is, vim has no way of knowing whether
> your terminal (or xterm) has a white or black background.  Since xterm
> and gvim default to a white background, vim defaults to assuming you
> have a white background.  Thus the colors used for highlighting are
> somewhat dark, to contrast with the white background.  Setting
> 'bg=3Ddark' in vim doesn't change your background, but rather tells vim
> that your background is dark so that it will use lighter colors which
> contrast with the dark background (but are impossible to read on a
> white background).
> 
> (type ":help background" in vim)
> 

I used to have that set, and I distinctly remember having a reason to
dislike it -- maybe how gvim handled it? 

Anyway, I have un-commented that line and it seems to be closer to what
I want than the defaults, so whatever the original reason was, I guess
I'll ignore it till it bites me.

-- 
monique



Reply to: