On 13.02.2009 07:48, Stroller wrote:
> 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?

Column and line numbers are shown on the lower right part of the screen.

> Surely it's easier just to highlight the lines?

Not when you are working with the keyboard most of the time.  Taking
your hands off the keyboard to use the mouse is time consuming and
becomes rather annoying.

-- 
Eray

Reply via email to