Loading...

Disable auto formatting in vim

vim has the behavior, if you paste a beginning line with comment, the following lines get also commented and indented. To disable this behavior switch to the paste mode.

:set paste

Paste your stuff. To deactivate the paste mode:

:set nopaste
vi