Column Edit Mode in VI

December 27, 2007 Pivotal Labs

I’ve found that typing in column mode to be very useful when using editors like IntelliJ or TextMate. VI also has a column edit mode, that is a little tricky to use.

To use it, press:

  • Ctrl + V to go into column mode
  • Select the columns and rows where you want to enter your text
  • Shift + i to go into insert mode in column mode
  • Type in the text you want to enter. Dont be discouraged by the fact that only the first row is changed.
  • Esc to apply your change (or alternately Ctrl+c)

You will now see your changed applied.

About the Author

Biography

More Content by Pivotal Labs
Previous
Introducing RR
Introducing RR

I'm pleased to introduce a new Test Double (or mock) framework named RR, which is short for Double Ruby. ...

Next
Alexisms
Alexisms

Sayings I use, only some of which are actually originally attributable to me. Anyone with research on a say...

How do you measure digital transformation?

Take the Benchmark