Paste inside vim without code being commented

:set paste

Then enter insert mode. You will see the status bar say insert (paste).  

To return to normal mode, input:

:set nopaste

Comments

Popular posts from this blog