From: "Joost Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Commenting out multiple lines in vim
Date: Fri, 13 Feb 2009 13:54:36 +0100 (CET) [thread overview]
Message-ID: <f32a4784e022c3dfd6288366a7400285.squirrel@www.antarean.org> (raw)
In-Reply-To: <20090213123700.GA30595@ultras>
On Fri, February 13, 2009 1:37 pm, Nicolas Sebrecht wrote:
>
> On Fri, Feb 13, 2009 at 10:24:34AM +0100, Joost Roeleveld wrote:
>
>> True, but with this method, you don't use the mouse, just the keyboard:
>> 1) Go to first line
>
> Press gg
Actually meant going to first line of block you want to comment out
>
>> 2) Press <CTRL>+V
>> 3) go to last line
>
> Press G
Ditto, but last line of what you want to comment out
>
>> 4) Press <ESC>
>
> Why this stage ?
Oops, typo...
>
>> 5) Press <SHIFT>+I
>> 6) Press '#'
>> 7) Press <ESC>
>>
>> On my system I then need to move the cursor to actually see the change,
>> is
>> this normal?
>
> I don't have to here with vim72 or gvim. However, I have no idea of how
> to fix this.
I use vim-7.2 as well. Could easily be because it needs that to do a
redraw of the screen.
It's a minor annoyance which I can live with. And as I am the only one
facing this, I don't see the point of raising a bug-report for it.
--
Joost
next prev parent reply other threads:[~2009-02-13 12:54 UTC|newest]
Thread overview: 20+ 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
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 [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2009-02-14 4:21 [gentoo-user] " daid kahl
2009-02-14 4:38 ` Stroller
2009-02-14 5:03 ` daid kahl
2009-02-14 6:02 ` Stroller
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=f32a4784e022c3dfd6288366a7400285.squirrel@www.antarean.org \
--to=joost@antarean.org \
--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