Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Need advice on changing terminal color scheme
Date: Mon, 15 Sep 2008 18:42:44
Message-Id: 200809152042.58023.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Need advice on changing terminal color scheme by Michael Sullivan
1 On Monday 15 September 2008 20:25:08 Michael Sullivan wrote:
2 > On Mon, 2008-09-15 at 10:03 -0700, Alan wrote:
3 > > On Mon, Sep 15, 2008 at 09:44:47AM -0500, Michael Sullivan wrote:
4
5 > > If you're talking about the syntax highlighting in vim, you'll probably
6 > > want to do:
7 > >
8 > > set bg=dark
9 > >
10 > > Which will set the sytax coloring to *much* nicer colors for working on
11 > > black.
12 > >
13 > > If you're talking the terminal colors for 'ls' and it's color, I'm not
14 > > sure.
15 > >
16 > > HTH.
17 >
18 > Where do I set bg=dark? In the terminal or in a file, and if so, which
19 > file?
20
21 It's a vim command so you can do it on the fly, or put it in a config file.
22
23 on the fly:
24 in vim, type '<esc>:set bg=dark'
25
26 permanent setting in a config file:
27 add the line
28 set bg=dark
29 to the file .vimrc in the home directory of the user using vi
30
31 --
32 alan dot mckinnon at gmail dot com