X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=vim%2Fvimrc;h=cb3fef0c050e6f1b17fa22a55ac714a36c6b4c98;hb=70a12d1c0581e732ee4ef13f0ec9e970017c84bf;hp=4489591f5ce70fa31a4e3704657f514c90b79849;hpb=ea46480fcd0ec6027ce8404e08121c98d1b2b5f2;p=dotfiles.git diff --git a/vim/vimrc b/vim/vimrc index 4489591..cb3fef0 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -26,7 +26,7 @@ Bundle 'vim-scripts/gtags.vim' Bundle 'kshenoy/vim-signature' Bundle 'nathanaelkane/vim-indent-guides' Bundle 'rking/ag.vim' -"Bundle 'payneseu/mark-2.8.4' +Bundle 'payneseu/mark-2.8.4' "Bundle 'derekwyatt/vim-fswitch' Bundle 'sjl/gundo.vim' Bundle 'tpope/vim-markdown' @@ -295,7 +295,7 @@ nnoremap sr :FufRenewCache "syntax on, must before the YCM, "let g:ycm_collect_identifiers_from_tags_files = 1 -"let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py' +let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py' " this is fix youcompleteme python error "http://www.cnblogs.com/clivelee/p/4266559.html "https://github.com/Valloric/YouCompleteMe/issues/18 @@ -513,7 +513,8 @@ autocmd FileType c,cpp setlocal foldmethod=syntax | \ let b:AutoClosePairs = AutoClose#DefaultPairsModified("\"", "{}") | \ inoremap { {}kA| \ nnoremap :let word=expand(""):wincmd o:vsp:exec("tag ". word)zzzr:wincmd w -autocmd FileType python setlocal foldmethod=indent +autocmd FileType python setlocal foldmethod=indent | + \ set list autocmd FileType xml setlocal foldmethod=syntax | \ let g:xml_syntax_folding=1