From owner-freebsd-questions Sun Mar 9 8:37:26 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 6A43D37B401 for ; Sun, 9 Mar 2003 08:37:25 -0800 (PST) Received: from hexagon.stack.nl (hexagon.stack.nl [131.155.140.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF6F43FCB for ; Sun, 9 Mar 2003 08:37:24 -0800 (PST) (envelope-from dean@dragon.stack.nl) Received: by hexagon.stack.nl (Postfix, from userid 65534) id 84F501CFC; Sun, 9 Mar 2003 17:37:23 +0100 (CET) Received: from dragon.stack.nl (dragon.stack.nl [2001:610:1108:5011:207:e9ff:fe09:230]) by hexagon.stack.nl (Postfix) with ESMTP id 870141CFB; Sun, 9 Mar 2003 17:37:22 +0100 (CET) Received: by dragon.stack.nl (Postfix, from userid 1600) id 6960F5F179; Sun, 9 Mar 2003 17:37:22 +0100 (CET) Date: Sun, 9 Mar 2003 17:37:22 +0100 From: Dean Strik To: Wayne Pascoe Cc: freebsd-questions@freebsd.org Subject: Re: Changing comment color in vim Message-ID: <20030309163722.GA75476@dragon.stack.nl> References: <20030309163320.GA32673@marvin.penguinpowered.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030309163320.GA32673@marvin.penguinpowered.org.uk> X-Editor: VIM Rulez! http://www.vim.org/ X-MUD: Outerspace - telnet://mud.stack.nl:3333 X-Really: Yes User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-32.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) 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 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