On 13 Feb 2009, at 00:53, Philip Webb wrote:

090212 Stroller quoted:
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.

If you want to comment a series of lines  m-n , it's quicker to do :

 :m,ns/^/#/

I saw similar comments in my Google searches, but I am flummoxed how one could find it so.

Is it only on my keyboard that forward-slash is a "lower-case" character that is accessed *without* the shift key deployed?

How do you know m & n? Surely it's easier just to highlight the lines?

Stroller.


Reply via email to