0

How do I paste while in paste mode on vim? This shouldn't be that hard to find but it isn't explained in any of the tutorials or wikis. I'm trying to paste a block of code while in PASTE MODE but I get an error every time I try. I have F10 mapped to paste toggle.

I tried F10p, to paste the unnamed register, but that didn't work.

F10a, to paste register a,

and F10CTRL-v, to paste the clipboard, and even that didn't work.

How do I paste in paste mode?

Birei
  • 35,723
  • 2
  • 77
  • 82
bab
  • 2,119
  • 3
  • 28
  • 49
  • 2
    possible duplicate of [Vim - paste in insert mode?](http://stackoverflow.com/questions/2861627/vim-paste-in-insert-mode) – Hauleth Aug 24 '12 at 21:28
  • Not exactly "PASTE MODE", but it should allow you to paste into vim http://stackoverflow.com/questions/2861627/vim-paste-in-insert-mode While in insert mode hit `CTRL-R {register}`. For example, `CTRL-R *` will insert in the contents of the clipboard and `CTRL-R "` (the unnamed register) inserts the the last delete or yank. To find this in vim's help type `:h i_ctrl-r` – WebDevNewbie Aug 24 '12 at 21:16

1 Answers1

3

I use many times CTRL-SHIFT-v to paste content from the clipboard to vim in insert mode with :set paste instruction executed just before.

Birei
  • 35,723
  • 2
  • 77
  • 82