On 12 Feb 2009, at 20:16, Alexander Pilipovsky wrote:
Stroller написав(ла):

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.

...
Exuse me, but it works on my computer :) And thanks about this topic, I didn't know about this feature!

I selected region by Ctrl-v, pressed Shift-I and white selection disappeared, I pressed # and ESC and got this effect...

Blimey! I overlooked the instruction to use the <escape> key!

Having recently made a resolution to take better advantage of vim's features I have only just learned selection using shift-v, so had to test again using ctrl-v before posting. I also tried both combinations using just "i" and also shift-I.

*slaps self*

Stroller.


Reply via email to