vim配置

vim配置


第一階段,便於編寫代碼

set nu    "show line
syntax on "highlight syntax
set completeopt=preview,menu
set cursorline " highlight current line
set autoindent " auto indent
set tabstop=4  " set tab indent as 4 ascii
set softtabstop=4 " set tab indent as 4 ascii
set expandtab  " use space to replace tab
set showmatch  " match () or []
set smartindent " auto indent for c?

先用這些吧。感覺挺合適的。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章