Enable Syntax Highlighting In VIM (vi) In Mac OSX

To enable the syntax highlight feature of Vim (vi) on Mac OSX, edit the /usr/share/vim/vimrc file and add the “syntax on” config.  To do this from Terminal.app …

sudo vi /usr/share/vim/vimrc

…add a new line, “syntax on” and then save and close the file.

Short URL for this post: http://tmblr.co/ZufQ6y1BKVcT