Register now and start sharing your code snippets.
-->

Copying text from one VIM instance to another

Plain Text posted about 1 year ago by christian

Copying and pasting text between two VIM instances messes up the indentation in a very annoying way. To avoid this problem first run this VIM command:

   1  :set paste

After you have pasted the code, run this command:

   1  :set nopaste

Tagged vim, paste, indentation