News for hackers. Stuff that matters.
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.
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.
Re:Vim's 25th anniversary and the release of Vim 8 by marklgr on Friday February 10, 2017 @06:22AM (#13614626)
Most terminals support bracketed paste, and vim can automatically toggle pastemode based on the special sequences.

Eg. https://github.com/ConradIrwin/vim-bracketed-paste