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
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.

EG:
http://mail.python.org/pipermail/python-list/2001-May/084540.html
http://hurley.wordpress.com/2007/06/13/vim-tip-comment-out-multiple-lines/

Yet it doesn't seem to work on any of my Gentoo systems.

Is this something that is caused by a Gentoo-specific /etc/vimrc or  
has vim evolved?

Any comments gratefully received.

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>