Comment on Pasting in command line Vim doesn't have to suckparentComments−tzs15yNice idea, and you can replace cat if you need to clean up the paste: :r!perltidy (paste coworker's ugly perl code) ctrl-D and you have nice looking code pasted.
Comments
Nice idea, and you can replace cat if you need to clean up the paste:
and you have nice looking code pasted.