Home / Tools / Column Edit Mode in VIM

Column Edit Mode in VIM

Print Friendly, PDF & Email

Typing in column mode in editors is sometimes actually useful. How many times have you wanted to replace columns of text with something? You can do this utility with common programming editors like IntelliJ IDEA, TextMate or Sublime. VIM also has a column edit mode, that is a little tricky to use.

To use it, try to do the following steps:

  1. Press Ctrl + V to go into column mode so as to select in the visual block.
  2. Select the columns and rows where you want to enter/replace/delete your text
  3. Shift + i to go into insert mode in column mode
  4. Type in the text you want to enter. Don’t be discouraged by the fact that only the first row is changed
  5. Esc and ESC key again to apply your change (or alternatively Ctrl+c)
Demonstration of editing text in column mode with Vim

Demonstration of editing text in column mode with Vim

About Nguyen Vu Ngoc Tung

I love making new professional acquaintances. Don't hesitate to contact me via nguyenvungoctung@gmail.com if you want to talk about information technology, education, and research on complex networks analysis (i.e., metabolic networks analysis), data analysis, and applications of graph theory. Specialties: researching and proposing innovative business approaches to organizations, evaluating and consulting about usability engineering, training and employee development, web technologies, software architecture.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.