</theCODEBLOGS>

You are seeing this page because you have indicated you would like javascript to be disabled. To renable Javascript us the link below

Visual Block Editing With Vim

Posted 3 years, 3 months ago

Visual Block Editing With Vim

It's possible and easy to edit in block mode with Vim. The tricky part that I always forget is the fact that you need to use the Visual Block mode. You can enter this mode using the key combo:

<ctrl + v>

The mode should switch into Visual Block mode:


Once you have you're block selected, you can enter insert mode using

I

After making you're edit, use

Esc

and your block content should fill in. This is handy for commenting large blocks of code and in many other cases.