12 ms·
This has caught me as well, but it can be avoided by using `:set paste!` to toggle paste mode before pasting. This isn't something I need to worry about often
by nick_g 10y ago
This has caught me as well, but it can be avoided by using `:set paste!` to toggle paste mode before pasting. This isn't something I need to worry about often enough but you can map that command if pasting external content is something you do often.
- marklgr 10y agoMost terminals support bracketed paste, and vim can automatically toggle pastemode based on the special sequences. Eg. https://github.com/ConradIrwin/vim-bracketed-paste https://github.com/ConradIrwin/vim-bracketed-paste