简体   繁体   中英

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 ?

syntax on ~/.vimrc文件中。

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM