Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-16 Thread Joost Roeleveld
On Fri, February 13, 2009 9:01 pm, Stroller wrote: > > On 13 Feb 2009, at 09:24, Joost Roeleveld wrote: >> ... >> On my system I then need to move the cursor to actually see the >> change, is >> this normal? > > Here the change appears when you move the cursor... or after a slow > second. Ok, this

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-14 Thread Sebastian Dörner
Hi, Stroller wrote: > Any comments gratefully received. > The ways described here are quite convenient for sure, but since comments are pretty important and frequently-used instruments in programming, I prefer extending the conveniency furthermore by using "The NERD Commenter" vim plugin found he

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-13 Thread Stroller
On 13 Feb 2009, at 09:24, Joost Roeleveld wrote: ... On my system I then need to move the cursor to actually see the change, is this normal? Here the change appears when you move the cursor... or after a slow second. Stroller.

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-13 Thread Stroller
On 13 Feb 2009, at 06:49, Eray Aslan wrote: ... Surely it's easier just to highlight the lines? Not when you are working with the keyboard most of the time. Taking your hands off the keyboard to use the mouse is time consuming and becomes rather annoying. LOL! Stroller.

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-13 Thread Joost Roeleveld
On Fri, February 13, 2009 7:49 am, Eray Aslan wrote: > On 13.02.2009 07:48, Stroller wrote: >> On 13 Feb 2009, at 00:53, Philip Webb wrote: >>> 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 s

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-12 Thread Eray Aslan
On 13.02.2009 07:48, Stroller wrote: > On 13 Feb 2009, at 00:53, Philip Webb wrote: >> 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 li

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-12 Thread Stroller
On 13 Feb 2009, at 00:53, Philip Webb wrote: 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/^/#/ I sa

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-12 Thread Philip Webb
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/^/#/ -- ,,=

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-12 Thread Alan
On Thu, Feb 12, 2009 at 07:53:30PM +, Stroller wrote: > Hi there, > > I can find numerous references on the net to this behaviour: > >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. Very convenie

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-12 Thread Stroller
On 12 Feb 2009, at 20:16, Alexander Pilipovsky wrote: Stroller написав(ла): Hi there, I can find numerous references on the net to this behaviour: 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. Ve

Re: [gentoo-user] Commenting out multiple lines in vim

2009-02-12 Thread Alexander Pilipovsky
Stroller ???(??): Hi there, I can find numerous references on the net to this behaviour: 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. Very convenient. EG: http://mail.python.org/pipermail/pyth

[gentoo-user] Commenting out multiple lines in vim

2009-02-12 Thread Stroller
Hi there, I can find numerous references on the net to this behaviour: 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. Very convenient. EG: http://mail.python.org/pipermail/python-list/2001-May/084540