How to turn on syntax highlighting in osx

Posted 学习那些事儿

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How to turn on syntax highlighting in osx相关的知识,希望对你有一定的参考价值。

put follow code in ~/.vimrc 

set ai                  " auto indenting 
 set history=100         " keep 100 lines of history
 set ruler               " show the cursor position
 syntax on               " syntax highlighting
 set hlsearch            " highlight the last searched term
 filetype plugin on      " use the file type plugins

Don‘t having this file ,you will build a new one.



note: my english is so poor that I can‘t writing a complete sentence .

Also please see understanding !

quote:http://stackoverflow.com/questions/24666518/how-to-turn-on-syntax-highlighting-in-vim-7-3-osx

以上是关于How to turn on syntax highlighting in osx的主要内容,如果未能解决你的问题,请参考以下文章

How to use GM Tech2 scanner to turn off seatbelt alarm, program DDM, add modules

ORA-38760: This database instance failed to turn on flashback database

How To Deploy OpenShift Container Platform 4.8 on KVM

How To Deploy OpenShift Container Platform 4.8 on KVM

How To Deploy OpenShift Container Platform 4.8 on KVM

How to remove popup on boot on Windows 2003