Vim 9 · Macros and settings

Paste without auto-indent

Stop Vim re-indenting pasted text. Turn it off again with :set nopaste.

:set paste

Official Vim 9 documentation

More macros and settings commands

All macros and settings commands · Vim 9 cheatsheet

Was this page helpful?