Thursday, December 7, 2023

how to paste in vim without leaving insert mode

         - press ctrl + r + 0 ( zero )

that lets you enter normal mode for a command and paste from the zero register which usually is the system clipboard. 

but in general you want CTRL o ( control o) 

- that lets you step breiefly into normal mode for a single command before returning you back into insert mode.

No comments:

Post a Comment