Is it just me or is vim's automatic comment continue to the next line completely unnecessary? Every time I copy/paste anything into vim it makes the smart choice and completely messes up the code. And this is enabled as a default! WTF?
Something like this will help:
This reads, disable following:
- Auto-wrap comments using textwidth, inserting the current comment leader automatically
- Automatically insert the current comment leader after hitting <Enter> in Insert mode
- Automatically insert the current comment leader after hitting 'o' or 'O' in Normal mode
After that copy/paste works as it should.