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?

先用这些吧。感觉挺合适的。

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐