From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LXmJQ-0008QC-BP for garchives@archives.gentoo.org; Fri, 13 Feb 2009 00:53:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CFF0E044A; Fri, 13 Feb 2009 00:53:46 +0000 (UTC) Received: from smtp-relay2.uniserve.ca (smtp-relay2h.uniserve.ca [216.113.194.206]) by pigeon.gentoo.org (Postfix) with ESMTP id F14E3E044A for ; Fri, 13 Feb 2009 00:53:45 +0000 (UTC) Received: from ip-46.56.99.216.dsl-cust.ca.inter.net ([216.99.56.46] helo=ca.inter.net) by smtp-relay2.uniserve.ca with smtp (Exim 4.63) (envelope-from ) id 1LXmJM-0006vf-7i for gentoo-user@lists.gentoo.org; Thu, 12 Feb 2009 16:53:45 -0800 Received: by ca.inter.net (sSMTP sendmail emulation); Thu, 12 Feb 2009 19:53:43 -0500 Date: Thu, 12 Feb 2009 19:53:43 -0500 From: Philip Webb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Commenting out multiple lines in vim Message-ID: <20090213005343.GC4577@ca.inter.net> Mail-Followup-To: gentoo-user@lists.gentoo.org References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Sender-Info: purslow@ca.inter.net X-Authenticated-Sender: X-Scanner: OK. Scanned. X-Uniserve-Spam-Score: 0.1 1 (/) X-Uniserve-Spam-Report: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 RDNS_DYNAMIC Delivered to trusted network by host with dynamic-looking rDNS X-Archives-Salt: 98d73b38-2d6c-43a8-901e-2a4daf0c1cc3 X-Archives-Hash: e6a69f0b1c5a4dd20a57f594f74d8672 090212 Stroller quoted: > In vim, you can just select the rectangular region with Ctrl-v, > then type "I#". This will insert # in each line at the same column. If you want to comment a series of lines m-n , it's quicker to do : :m,ns/^/#/ -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca