«

»

Jan 16

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.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>