Enable Syntax Coloring For VIM Editor on Mac OS X

Enable Syntax Coloring in VIM Editor on Mac OS X:
Simple way to enable syntax highlighting on Mac OS X:
– Locate your VIM installation on Mac OS X.
– By default it should be /usr/share/vim
– As a “root” edit vimrc file under vim folder & Add following statements

syntax on
set hlsearch
set incsearch

– You can add more options based on the VIM Guidelines
– You are done. 🙂