Thursday, January 07, 2010

Pasting in VI

OK it's been a while, and I will post more interesting stuff at some point, but:

VIM has something I didn't know about - paste mode. If you get annoyed by auto indent when pasting to a VIM window from another application, simply run:
:set paste
To go back again
:set nopaste

No comments: