From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Commenting out multiple lines in vim
Date: Thu, 12 Feb 2009 21:42:56 +0000 [thread overview]
Message-ID: <F238291E-574C-4250-ACF6-A416E01D39BF@stellar.eclipse.co.uk> (raw)
In-Reply-To: <49948380.8030900@gmail.com>
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#<ESC>". This will insert # in each line at the same
>> column. Very convenient.
>>
> ...
> Exuse me, but it works on my computer :) And thanks about this
> topic, I didn't know about this feature!
>
> I selected region by Ctrl-v, pressed Shift-I and white selection
> disappeared, I pressed # and ESC and got this effect...
Blimey! I overlooked the instruction to use the <escape> key!
Having recently made a resolution to take better advantage of vim's
features I have only just learned selection using shift-v, so had to
test again using ctrl-v before posting. I also tried both combinations
using just "i" and also shift-I.
*slaps self*
Stroller.
next prev parent reply other threads:[~2009-02-12 21:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-12 19:53 [gentoo-user] Commenting out multiple lines in vim Stroller
2009-02-12 20:16 ` Alexander Pilipovsky
2009-02-12 21:42 ` Stroller [this message]
2009-02-12 21:44 ` Alan
2009-02-13 0:53 ` Philip Webb
2009-02-13 5:48 ` Stroller
2009-02-13 6:49 ` Eray Aslan
2009-02-13 9:24 ` Joost Roeleveld
2009-02-13 12:37 ` [gentoo-user] " Nicolas Sebrecht
2009-02-13 12:54 ` Joost Roeleveld
2009-02-13 20:01 ` [gentoo-user] " Stroller
2009-02-16 9:51 ` Joost Roeleveld
2009-02-13 19:58 ` Stroller
2009-02-13 21:45 ` [gentoo-user] " Nicolas Sebrecht
2009-02-14 4:11 ` Stroller
2009-02-14 13:03 ` [gentoo-user] " Sebastian Dörner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F238291E-574C-4250-ACF6-A416E01D39BF@stellar.eclipse.co.uk \
--to=stroller@stellar.eclipse.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox