Hacker News new | past | comments | ask | show | jobs | submit login

...but then you need to ":set nopaste", afterwards.

I frequently do this, instead: ":r !cat"




...but then you need to ":set nopaste", afterwards.

For me, it's just <F8>, then pasting, then pressing <F8> again. This works because of the following line in my .vimrc which I highly recommend:

    set pastetoggle=<F8>




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: