![]() If you want syntax highlighting enabled by default when you open your vim editor, just add this command to your vimrc configuration file: When you turn vim syntax highlighting off, the same file in your vim editor will now look like this:Įnable vim syntax highlighting by default (vimrc) ![]() With syntax highlighting turned on, a vim editor session can give you some nice syntax highlighting, as shown in this image:Ĭonversely, if you want to turn syntax highlighting off in your current vim editor session, just issue this command: To enable syntax highlighting in your current vim editor session just issue this command in vim’s last-line mode: Turning on syntax highlighting in your vim editor is usually pretty simple you just need to issue a syntax on command, either in your current editor session, or in your vimrc configuration file. Vim syntax faq: How do I turn on (enable) or turn off (disable) vim syntax highlighting?
0 Comments
Leave a Reply. |