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 添加右括号

posted @ 2010-11-20 14:13  lawdong  Views(221)  Comments(0Edit  收藏  举报
http://home.cnblogs.com/ing/