I am trying to set up a paste shortcut in my .vimrc
.
So far I've tried remapping Shift+Insert
:
noremap <S-Insert> <ESC>:paste<CR><S-Insert><ESC>:nopaste<CR>
...which did not work. I've also tried to map system clipboard pasting:
noremap ´v <ESC>:set paste<CR>"*p<ESC>:set nopaste<CR>
...but it did not work, either. The backtick `
is my personal leader key for several custom mappings. I have a German keyboard where this thing is easily accessible.
What am I doing wrong? I thought "*p
is for pasting the system's clipboard...and I expected <S-Insert>
to work normally as a command.
Any help would be really appreciated.