X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=vim%2Fvimrc;h=753ff74a64199fd46c401834c6d2674691efa4ec;hb=218e61cf0e81621d65d5ff6e8d97c227a04a2e74;hp=4489591f5ce70fa31a4e3704657f514c90b79849;hpb=ea46480fcd0ec6027ce8404e08121c98d1b2b5f2;p=dotfiles.git diff --git a/vim/vimrc b/vim/vimrc index 4489591..753ff74 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 @@ -523,7 +524,7 @@ autocmd FileType vim setlocal foldmethod=marker | autocmd FileType perl setlocal foldmethod=syntax | \ let b:AutoClosePairs = AutoClose#DefaultPairsModified("\"", "{}") | - \ inoremap { {}kA + \ inoremap { {}kA autocmd Filetype markdown setlocal textwidth=80 @@ -692,3 +693,5 @@ nnoremap m :marks abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ< " \ 'undo', 'line', 'changes', 'mixed', 'bookmarkdir'] +"" TODO: +""