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 "啟動智能補全