mangoweb.net

Vim tip: nopaste

When you paste from system clipboard and vim starts acting funny with your tab settings — for example, other settings are affected, but you’ll probably notice this one fast – you’ve probably entered paste mode.

To get out of paste mode:

:set nopaste