Re:Vim's 25th anniversary and the release of Vim 8
by jcl on Thursday February 09, 2017 @02:23PM
(#13609982)
These can be convenient if you are only entering text manually. But remapping regular -- albeit rare -- text sequences can have unexpected results when pasting copied content into insert mode in a terminal window. I've been bitten by this a couple times when pasting base64-encoded data.
[ Parent
| on HN ]
Re:Vim's 25th anniversary and the release of Vim 8
by nick_g on Thursday February 09, 2017 @02:33PM
(#13610087)
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.