You may have noticed that pasting outside text into Vim from insert mode can lead to awkwardly stair-stepped text. You may also know that this is easily avoidable via :set paste from normal mode. I paste from outside often enough, that I've added the following to my vimrc making it that much easier.
set pastetoggle=<F5>
Wednesday, April 30, 2008
Subscribe to:
Post Comments (Atom)
2 comments:
Or use "*p / "+p
I didn't realize "*p would preserve formatting. Thanks for the tip!
Post a Comment