4 ms·
I do a lot of copying/pasting from my browser (and other random places), so these mappings make my life easier: " copy/paste with the system clipboard map
by ktf 17y ago
I do a lot of copying/pasting from my browser (and other random places), so these mappings make my life easier:
" copy/paste with the system clipboard
map ^P "+gP
map ^C "+y
Also this, for dealing with DOS-style stuff:
" map <ctrl>+s to remove ^M from the ends of lines
map ^S :%s\/^M\/\/g
- pyre 17y agomap ^C "+y Ugh. I couldn't do that. C-c is a shortcut to exit Insert Mode or to stop a command (similar to C-g usage in Emacs or mutt). map ^S :%s\/^M\/\/g Be careful with that on terminals. C-s is usually mapped in with flow control on terminals.