3 ms·
Vim will type every character you paste, one by one. F12 should switch you to paste mode and paste it as a block, though on my new Mac this was already mapped
by ZeroGravitas 12y ago
Vim will type every character you paste, one by one.
F12 should switch you to paste mode and paste it as a block, though on my new Mac this was already mapped to some GUI function so I had to disable that for it to work.
Some relevant info: http://stackoverflow.com/questions/5585129/pasting-code-into-terminal-window-into-vim-on-mac-os-x http://stackoverflow.com/questions/5585129/pasting-code-into...
- nobleach 12y agoPasting into a buffer in insert mode is not the best idea. I've remapped <leader>p and <leader>P to paste from the system buffer and it's just as fast as yanking and putting text in Vim.
- danudey 12y agoThat doesn't work as well over SSH sessions though, which is where pasting into vim really starts showing its limitations. Vim's normal inefficient behaviour plus a link with latency is an unfortunate circumstance.