Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 17:37:22 +0100
From:      Dean Strik <dean@stack.nl>
To:        Wayne Pascoe <freebsd@penguinpowered.org.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Changing comment color in vim
Message-ID:  <20030309163722.GA75476@dragon.stack.nl>
In-Reply-To: <20030309163320.GA32673@marvin.penguinpowered.org.uk>
References:  <20030309163320.GA32673@marvin.penguinpowered.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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
dean@stack.nl  |  dean@ipnet6.org  |  http://www.ipnet6.org/
"This isn't right. This isn't even wrong." -- Wolfgang Pauli

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030309163722.GA75476>