Enable syntax highlighting in MacOS vi

There's no such thing as can't be done.

Enable syntax highlighting in MacOS vi

Unfortunately the vi that ships with Mac OS X doesn’t have an optimized configuration file to allow for syntax highlighting
To enable the syntaxx highlighting do

cd /usr/share/vim 
sudo vim vimrc

and add

syntax on ” syntax highlighting

Thats all.

No Comments

Add your comment