vimtricks.wiki Concise Vim tricks, one at a time.

How do you enable syntax highlighting in Vim?

Answer

syntax on

Explanation

Use syntax on in your vimrc to enable syntax highlighting for all supported file types. Use syntax off to disable it.

Next

How do I visually select a double-quoted string including the quotes themselves?