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

LeeGroups mailgroups at varga.co.uk
Mon Aug 18 18:19:38 BST 2008


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




More information about the ubuntu-uk mailing list