個人Vim 配置

來源:互聯網
上載者:User

標籤:

包含了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 配置

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.