4 ms·
when I paste code in to a Vim document, the indentation gets all screwed up. Try :set paste :set nopaste :set invpaste :help paste
by bricestacey 16y ago
when I paste code in to a Vim document, the indentation gets all screwed up.
Try
:set paste
:set nopaste
:set invpaste
:help paste
- mrud 16y agoUse set pastetoggle=<f11> and press F11 to toggle the paste state.
- astrofinch 16y agoThanks!