Digital Marketing

Turn off auto indent when pasting text into vim

To turn off auto indent when you paste code,

:set paste

Then paste your code. 

To turn off the paste-mode, so that auto-indenting when you type works correctly again.

:set nopaste


Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux