Re: Changing comment color in vim
Hello Wayne, Here is what I add to make the comments change in vim. You need to add it to the ~/.vimrc. hi Comment ctermfg=darkmagenta You may want to first run the color tests to make sure that the color you choose actually works in your current terminal. The following will run a color test to see the colors that work. :e $VIMRUNTIME/syntax/colortest.vim :so % I hope this helps. Lee Carmichael Service Architect - WorkSpace WAM!NET Inc. 655 Lone Oak Rd Building A Eagan, MN 55121 ph# 651-256-5292 email: [EMAIL PROTECTED] On Sun, 9 Mar 2003, Wayne Pascoe wrote: > Hi all, > > I use vim for my coding needs, and only have one problem with it. Unless > I'm using gvim, my comments are a dark blue. This is almost unreadable > in some light conditions. > > Does anyone have a quick hack to change comments to something easier to > see (e.g. green / yellow) for perl and C ? > > TIA, > > -- > Wayne Pascoe > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Changing comment color in vim
On Sun, Mar 09, 2003 at 09:01:37AM -0800, Nathan Kinkade wrote:
> You can create your own color schemes for just about anything in VIM.
> You can set which color scheme you use by setting the 'colorscheme'
> variable in your vimrc file. The various color schemes are likely
> located in the dir /usr/local/share/vim/vim61/colors. Also, you can set
> your colorscheme dynamically from within VIM using ``:color {name}''.
> I'm sure that a web search for something like ``vim colorscheme'' would
> produce much results.
Thanks. Elflord seems to be quite nice.
--
Wayne Pascoe
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
Re: Changing comment color in vim
On Sun, Mar 09, 2003 at 05:37:22PM +0100, Dean Strik wrote: > Wayne Pascoe wrote: > > I use vim for my coding needs, and only have one problem with it. Unless > > I'm using gvim, my comments are a dark blue. This is almost unreadable > > in some light conditions. > > > > Does anyone have a quick hack to change comments to something easier to > > see (e.g. green / yellow) for perl and C ? > > I assume you're using a white-on-black terminal/xterm. You can add > set bg=dark > to your .vimrc or enter that command in vim command mode. Thanks for that, but I tried that and it doesn't really work... -- Wayne Pascoe To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Changing comment color in vim
On Sun, Mar 09, 2003 at 04:33:20PM +, Wayne Pascoe wrote:
> Hi all,
>
> I use vim for my coding needs, and only have one problem with it. Unless
> I'm using gvim, my comments are a dark blue. This is almost unreadable
> in some light conditions.
>
> Does anyone have a quick hack to change comments to something easier to
> see (e.g. green / yellow) for perl and C ?
>
> TIA,
>
> --
> Wayne Pascoe
You can create your own color schemes for just about anything in VIM.
You can set which color scheme you use by setting the 'colorscheme'
variable in your vimrc file. The various color schemes are likely
located in the dir /usr/local/share/vim/vim61/colors. Also, you can set
your colorscheme dynamically from within VIM using ``:color {name}''.
I'm sure that a web search for something like ``vim colorscheme'' would
produce much results.
Nathan
--
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc
pgp0.pgp
Description: PGP signature
Re: Changing comment color in vim
Wayne Pascoe wrote: > I use vim for my coding needs, and only have one problem with it. Unless > I'm using gvim, my comments are a dark blue. This is almost unreadable > in some light conditions. > > Does anyone have a quick hack to change comments to something easier to > see (e.g. green / yellow) for perl and C ? I assume you're using a white-on-black terminal/xterm. You can add set bg=dark to your .vimrc or enter that command in vim command mode. -- Dean C. Strik Eindhoven University of Technology [EMAIL PROTECTED] | [EMAIL PROTECTED] | http://www.ipnet6.org/ "This isn't right. This isn't even wrong." -- Wolfgang Pauli To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
