Pasting stuff into VIM
I have found that if I paste code into vim there is auto indentation and sometimes comments are automatically put on the next line totally screwing up stuff. Easy fix:
- :set paste
- Paste your stuff
- :set nopaste
To easy. Thanks to http://www.vim.org/tips/