vi(vim) background colors

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bob Holtzman
Date:  
Subject: vi(vim) background colors
On 30 May 2003, Ted Gould wrote:

> On Fri, 2003-05-30 at 18:14, Bob Holtzman wrote:
> > I've asked this before but have lost the answer. Vi assumes the
> > background is light and when viewing a config file all the lines
> > that are commented out are dark blue on a black background. There
> > is/was an option to convince vi that the background is dark which
> > made it select bright blue for the foreground for the commented
> > lines. I can't find it in man vim or in the help files.
> >
> > I'm running RH7.3 with vim 6.1.265.
> >
> > I'd sure appreciate a hand on this. Thanks.
>
> :se bg=dark


Thanks for the info. Works fine but is there a way to put this in
an alias?

-- 
Bob Holtzman
"Your email is being read by hundreds of uptight agents
who never saw the humor in Dr. Strangelove."
                                           Mark Russell