1.12.2009

Vim paste-honing

Want to paste the last yanked?
And not the c/d/x? "0p does work well, but mapping to ctrl-p works too:
" -- paste last yanked (0 reg)
nmap "0p
imap "0pi
vmap "0p

nmap "0P
imap "0Pi
vmap "0P


Want to paste into command?
ctrl-r
or
ctrl-f to edit the command line
:help c_ctrl-r
:help 'cedit'