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.





Also please see understanding !

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

posted @ 2017-04-08 00:35  学习那些事儿  阅读(128)  评论(0)    收藏  举报