From owner-freebsd-questions Mon Mar 10 6:57:27 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1723B37B401 for ; Mon, 10 Mar 2003 06:57:26 -0800 (PST) Received: from efw1.wamnet.com (efw1.wamnet.com [67.98.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21A5143FAF for ; Mon, 10 Mar 2003 06:57:25 -0800 (PST) (envelope-from lcarmich@wamnet.com) Received: from ndm.wamnet.com ([172.17.38.2]) by efw1.wamnet.com (8.12.8/8.12.8) with ESMTP id h2AEvKUD023505; Mon, 10 Mar 2003 08:57:24 -0600 (CST) Received: from ds.cops.wamnet.com (ds.cops.wamnet.com [172.17.31.2]) by ndm.wamnet.com (8.9.1a/8.9.1) with ESMTP id IAA2149131; Mon, 10 Mar 2003 08:57:19 -0600 (CST) Received: from y.dev.wamnet.com (y.dev.wamnet.com [172.17.27.37]) by ds.cops.wamnet.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id IAA33394; Mon, 10 Mar 2003 08:57:19 -0600 (CST) Date: Mon, 10 Mar 2003 08:57:18 -0600 (CST) From: Lee J Carmichael X-Sender: lcarmich@y.dev.wamnet.com To: Wayne Pascoe Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Changing comment color in vim In-Reply-To: <20030309163320.GA32673@marvin.penguinpowered.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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