Permanent syntax on switch for Vim over OS X Termi

2019-04-29 18:25发布

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 ?

2条回答
劫难
2楼-- · 2019-04-29 18:50

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

查看更多
欢心
3楼-- · 2019-04-29 19:08

Put syntax on in your ~/.vimrc file.

查看更多
登录 后发表回答