Skip to content

Vi: Edit multiple lines simultaneously

cpx October 30, 2013 1 min read Tools
  • Use Ctrl+V to select the first column of text in the lines you want to comment.
  • Then hit Shift+i and type the text you want to insert.
  • Then hit Esc, wait 1 second and the inserted text will appear on every line.
0 0 votes
Article Rating
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x