python vim配置

来源:互联网 发布:张国荣同款衣服淘宝 编辑:程序博客网 时间:2024/06/18 05:01
set nocompatible              " requiredfiletype off                  " required" set the runtime path to include Vundle and initializeset rtp+=~/.vim/bundle/Vundle.vimcall vundle#begin()" alternatively, pass a path where Vundle should install plugins"call vundle#begin('~/some/path/here')" let Vundle manage Vundle, requiredPlugin 'gmarik/Vundle.vim'" Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)" All of your Plugins must be added before the following linecall vundle#end()            " requiredfiletype plugin indent on    " required" Enable foldingset foldmethod=indentset foldlevel=99au BufNewFile,BufRead *.py,    \ set tabstop=4 |    \ set softtabstop=4 |    \ set shiftwidth=4 |    \ set textwidth=200 |    \ set expandtab |    \ set autoindent |    \ set fileformat=unix |au BufNewFile,BufRead *.js,*.html,*.css    \ set tabstop=2 |    \ set softtabstop=2 |    \ set shiftwidth=2 |Plugin 'vim-scripts/indentpython.vim'set encoding=utf-8Bundle 'Valloric/YouCompleteMe'Plugin 'scrooloose/syntastic'Plugin 'nvie/vim-flake8'let python_highlight_all=1syntax onPlugin 'scrooloose/nerdtree'let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTreePlugin 'kien/ctrlp.vim'Plugin 'tmhedberg/SimpylFold'let g:ycm_autoclose_preview_window_after_insertion = 1let g:ycm_autoclose_preview_window_after_completion = 1set numberset cursorcolumnhighlight CursorLine   cterm=NONE ctermbg=black ctermfg=green guibg=NONE guifg=NONEBundle 'Raimondi/delimitMate'set pastetoggle=<F9>
0 0
原创粉丝点击