Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 998
Parijat Kalia Avatar asked Nov 15 '12 19:11

Parijat Kalia


2 Answers

Put syntax on in your ~/.vimrc file.

like image 174
qqx Avatar answered Nov 02 '22 23:11

qqx


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

like image 31
Randy Morris Avatar answered Nov 03 '22 01:11

Randy Morris