How to paste in a new line with vim?
Asked 07 September, 2021
Viewed 986 times
  • 56
Votes

I often have to paste some stuff on a new line in vim. What I usually do is:

o<Esc>p

Which inserts a new line and puts me in insertion mode, than quits insertion mode, and finally pastes.

Three keystrokes. Not very efficient. Any better ideas?

14 Answer