Skip to content

BLOG.JUNGWON.KIM

Menu

In Vim how do I effectively insert the same characters across multiple lines?

http://stackoverflow.com/questions/9549729/in-vim-how-do-i-effectively-insert-the-same-characters-across-multiple-lines

 

  1. Move the cursor to the n in name.
  2. Enter visual block mode (ctrlv).
  3. Press j three times.
  4. Press I.
  5. Type in vendor_.
  6. Press esc.

mini-screencast demonstrating the method

In Vim how do I effectively insert the same characters across multiple lines?
Jungwon January 8, 2016 CS
  • ← Multithreading MPI
  • Github API Rate limit exceeded →
Copyright © 2026 BLOG.JUNGWON.KIM. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.