Vi Configuration File?

Retty

Registered
When I type Python or C code into a text file using Vi, the text is automatically color coded by Vi to indicate different parts of the code.

Where is the configuration file that makes this happen?
 
I found this when I searched for "Vi configuration in OS X"
http://timreynolds.org/2013/05/26/configuring-vim-on-mac-os-x/
That should give you all the information that you need.

Here's a different take - http://apple.stackexchange.com/questions/46626/how-do-i-run-vi-with-colors-on-lion

And, another article.
This is probably your answer - that you must create the configuration files and folders yourself, if you need them.
http://stackoverflow.com/questions/11088292/no-vimrc-gvimrc-and-vim-on-mac
 
Last edited:
Back
Top