vim简单配置

filetype indent plugin on
set tags+=/usr/i686-pc-mingw32/sys-root/mingw/include/tags
syntax on
set nu
autocmd InsertLeave se nocul
autocmd InsertEnter se cul
set ruler
set showcmd
set noeb
set softtabstop=4
set shiftwidth=4
set nobackup
set noswapfile
set ignorecase
set hlsearch
set incsearch
set completeopt=longest,menu
set cindent
set autoindent
set smartindent
inoremap { {<CR>}<ESC>O "输入大括号后自动 换行Enter 添加右括号

你可能感兴趣的:(vim)