Paste in insert mode?

vim
Amir Rachum picture Amir Rachum · May 19, 2010 · Viewed 206.4k times · Source

Is it possible to paste in insert mode in Vim?

Answer

david picture david · May 19, 2010

While in insert mode hit CTRL-R {register}

Examples:

  • CTRL-R * will insert in the contents of the clipboard
  • CTRL-R " (the unnamed register) inserts the last delete or yank.

To find this in vim's help type :h i_ctrl-r