Categories
Allgemein

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.

Leave a Reply

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