Another method I sometimes use for pasting large blocks of code:
:r !cat
(paste your stuff)
ctrl - D
Doesn't require any switching between paste modes.