Date: Mon, 10 Mar 2003 08:57:18 -0600 (CST) From: Lee J Carmichael <lcarmich@wamnet.com> To: Wayne Pascoe <freebsd@penguinpowered.org.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Changing comment color in vim Message-ID: <Pine.SGI.3.96.1030310085411.412019H-100000@y.dev.wamnet.com> In-Reply-To: <20030309163320.GA32673@marvin.penguinpowered.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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: lcarmich@wamnet.com 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 majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?Pine.SGI.3.96.1030310085411.412019H-100000>