[ubuntu-uk] Advanced vi/vim command - commenting out a large section

Andy Smith andy at lug.org.uk
Thu Aug 21 17:49:24 BST 2008


Hi Lee,

On Mon, Aug 18, 2008 at 06:19:38PM +0100, LeeGroups wrote:
> 
> >> But, what I'd love, is a way I can type say 11 <command> and get it to
> >> turn 11 lines into a comment.
> >>
> >> Does anyone know of a nice way to do that in vim?
> >>     
> >
> > CTRL-v (number), DOWN ARROW, SHIFT-i, #, ESC, DOWN ARROW
> >
> > works for me...
> And people wonder why VIM has a bad reputation.... LOL...

Yes I do wonder.  What's the equivalent for your editor of choice?

Without using a mouse. :)

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20080821/c37b6f29/attachment.pgp 


More information about the ubuntu-uk mailing list