Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Commenting out multiple lines in vim
Date: Fri, 13 Feb 2009 00:53:48
Message-Id: 20090213005343.GC4577@ca.inter.net
In Reply to: [gentoo-user] Commenting out multiple lines in vim by Stroller
1 090212 Stroller quoted:
2 > In vim, you can just select the rectangular region with Ctrl-v,
3 > then type "I#<ESC>". This will insert # in each line at the same column.
4
5 If you want to comment a series of lines m-n , it's quicker to do :
6
7 :m,ns/^/#/
8
9 --
10 ========================,,============================================
11 SUPPORT ___________//___, Philip Webb
12 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
13 TRANSIT `-O----------O---' purslowatchassdotutorontodotca

Replies

Subject Author
Re: [gentoo-user] Commenting out multiple lines in vim Stroller <stroller@××××××××××××××××××.uk>