Before pasting:
:set paste
Finished pasting::set nopaste
Another great method:
:r! cat
Then use
shift+insert
Or otherwise paste the code, and then
ctrl+d
Complete the input.
Before pasting:
:set paste
Finished pasting::set nopaste
Another great method:
:r! cat
Then use
shift+insert
Or otherwise paste the code, and then
ctrl+d
Complete the input.