標籤:
包含了YouCompleteMe等外掛程式,monokai風格
set nu!colorscheme monokaiset tabstop=4map :NERDTreeToggleset nocompatible " be iMprovedfiletype off " required!set rtp+=~/.vim/bundle/Vundle.vim/call vundle#rc()Bundle ‘gmarik/vundle‘Bundle ‘tpope/vim-fugitive‘Bundle ‘Lokaltog/vim-easymotion‘Bundle ‘rstacruz/sparkup‘, {‘rtp‘: ‘vim/‘}Bundle ‘tpope/vim-rails.git‘" vim-scripts reposBundle ‘L9‘Bundle ‘FuzzyFinder‘Bundle ‘Valloric/YouCompleteMe‘Bundle ‘Valloric/ListToggle‘Bundle ‘scrooloose/syntastic‘Bundle ‘scrooloose/nerdcommenter‘Bundle ‘scrooloose/nerdtree‘filetype plugin indent on " required!不可以注釋,注釋後自己寫的的comment外掛程式不可以用。let mapleader = ","nnoremap jd :YcmCompleter GoToDefinitionElseDeclarationnnoremap cc :YcmForceCompileAndDiagnosticslet g:ycm_global_ycm_extra_conf = ‘~/.ycm_extra_conf.py‘let g:ycm_confirm_extra_conf = 0 "關閉工程目錄載入ycm_extra_conf.py的提示 let g:syntastic_always_populate_loc_list = 1let g:syntastic_ignore_files=[".*\.py$"] "禁用syntastic來對python檢查
效果如下:
個人Vim 配置