vim c/c++ 配置

set nu "设置显示行号
set backspace=2 "能使用backspace 回删。注:暂时没感受出来
syntax on "语法检测
set ruler "显示最后一行的状态
set bg=dark "背景色设置
set hlsearch "高亮度反白
set laststatus=2 "两行状态行+一行命令行
set cindent "设置c语言自动对齐
set shiftwidth=4
set t_Co=256 "设置指定配色方案为256
set mouse=a "设置可以再VIM使用鼠标
set tabstop=4 "设置TAB宽度
set history=1000 "设置历史记录条数。注:暂时没感受出来
set nocompatible "设置不兼容
"PATHOGEN 配置
execute pathogen#infect()
filetype plugin on "运行插件
filetype plugin indent on "启动智能补全

posted @ 2018-11-10 13:42  听风就是雨~  阅读(2580)  评论(0编辑  收藏  举报