Turn on syntax highlighting VIM

Published: 13 years ago

If you want to turn on syntax highlighting for vim editor on Ubuntu such edit the main config file here

# open vim settings
vim /etc/vim/vimrc
Then uncomment " syntax on " around line 20

# leave setting
syntax on

If you just wanted to turn it on just while you were editing a file (not a permanent solution)

:syntax on

Then press "Enter"

comments powered by Disqus
:?>