Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Commenting out multiple lines in vim
Date: Thu, 12 Feb 2009 19:53:35
Message-Id: B524387A-22FF-4D81-B707-4081FD25C1E0@stellar.eclipse.co.uk
1 Hi there,
2
3 I can find numerous references on the net to this behaviour:
4
5 In vim, you can just select the rectangular region with Ctrl-v,
6 then type "I#<ESC>". This will insert # in each line at the same
7 column. Very convenient.
8
9 EG:
10 http://mail.python.org/pipermail/python-list/2001-May/084540.html
11 http://hurley.wordpress.com/2007/06/13/vim-tip-comment-out-multiple-lines/
12
13 Yet it doesn't seem to work on any of my Gentoo systems.
14
15 Is this something that is caused by a Gentoo-specific /etc/vimrc or
16 has vim evolved?
17
18 Any comments gratefully received.
19
20 Stroller.

Replies

Subject Author
Re: [gentoo-user] Commenting out multiple lines in vim Alexander Pilipovsky <alexander.pilipovsky@×××××.com>
Re: [gentoo-user] Commenting out multiple lines in vim Alan <alan@×××××.org>
Re: [gentoo-user] Commenting out multiple lines in vim Philip Webb <purslow@××××××××.net>
Re: [gentoo-user] Commenting out multiple lines in vim "Sebastian Dörner" <sdoerner@×××××××.de>