Column Edit Mode in VI
-
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. Don't be discouraged by the fact that only the first row is changed.
Esc
to apply your change (or alternatelyCtrl+C
).
Written by Bui The Hoa
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#