January 16, 2007

vi syntax highlighting on MacOs

to turn on syntax highlighting in macos:

echo “syntax on” >> ~/.vimrc

Update: I changed the command - a commentor pointed out that my previous example was incorrect in most cases.