VIM – Enable color syntax

It may be easier to edit html or other code by enabling color syntax within VIM. You can do this for individual users by creating a .vimrc file within the root of their home directory and adding the following.

syntax on

This can also be accomplished system wide by editing the /etc/vim/vimrc file and uncommenting the line syntax on

jhudgins has written 33 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>