Toggling Syntax Highlighting
Syntax highlighting in Vim is generally a good thing, but sometimes you need to turn it off. This can be achieved with the syntax command.
:syntax offWhen you need that syntax highlighting back again, you can turn it right back on like so:
:syntax onSee :h syntax-on for more details.
h/t Steve Klabnik
Last updated
Was this helpful?