Parijat Kalia
Parijat Kalia

Reputation: 5085

Permanent syntax on switch for Vim over OS X Terminal

I use the terminal to vim into existing and new programs. I hate the fact that at all times I need to kick in :syntax on on the command line to make the syntax all colorful. Does anyone have a recipe for how I can make sure my terminal always kicks in with colorful syntax ?

Upvotes: 5

Views: 3135

Answers (2)

Randy Morris
Randy Morris

Reputation: 40927

Add syntax on to your ~/.vimrc. See :help initialization.

Upvotes: 4

qqx
qqx

Reputation: 19475

Put syntax on in your ~/.vimrc file.

Upvotes: 10

Related Questions