Great VIM Tip: Set paste

November 28, 2005 at 12:28 am | Posted in Computing Tips, Uncategorized, VIM | 13 Comments

If you find that VIM’s auto indenting makes pasting in text, well, suck then enter this:

:set paste

and

:set nopaste

to reverse it.

Source: VIM.ORG

And, yes, I rated it as life changing.  This one tip will make a huge difference in my use of VIM.  I used to sometimes exit VIM, edit the file with nano -w and then re-enter VIM.  This completely eliminates that so its huge.

Advertisements

Create a free website or blog at WordPress.com.
Entries and comments feeds.