VIM – Enable color syntax

  Linux

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

LEAVE A COMMENT