vimconfig

"关闭vi一致性模式,避免以前版本的一些bug和局限
set nocompatible
set number
"语法高亮
syntax on
"显示状态栏
set laststatus=2


filetype off

set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
Bundle 'gmarik/vundle'

"快速移动
Bundle 'Lokaltog/vim-easymotion'
" fuzzy
Bundle 'L9'
Bundle 'FuzzyFinder'

" Airline 状态栏
Bundle 'bling/vim-airline'

"代码模板
Bundle "MarcWeber/vim-addon-mw-utils"
Bundle "tomtom/tlib_vim"
Bundle "garbas/vim-snipmate"
" Optional:
Bundle "honza/vim-snippets"

"golang
Bundle 'Blackrush/vim-gocode'

"尽量使用256色
if &term =~? 'mlterm\|xterm\|xterm-256\|screen-256'
    let &t_Co = 256
    "colorscheme fisa
else
    "colorscheme delek
endif

imap <C-J> <C-X><C-O>

filetype plugin indent on

你可能感兴趣的:(config)