X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=vim%2Fvimrc;h=86878247e48f528db4ab564045b4502bc31da3f5;hb=212daa8f51b00f7353cd32c6edf1bc71c49a99b8;hp=fc97f823fa763d2603ed56d5c92bb8571f554072;hpb=fa4719922ca4877858157963f406303ce5feda10;p=dotfiles.git diff --git a/vim/vimrc b/vim/vimrc index fc97f82..8687824 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -39,6 +39,7 @@ Bundle 'MattesGroeger/vim-bookmarks' "Bundle 'kien/ctrlp.vim' "disable since some conflicting mapping Bundle 'vim-latex/vim-latex' +Plugin 'vimperator/vimperator.vim' call vundle#end() filetype plugin indent on @@ -296,12 +297,17 @@ nnoremap sr :FufRenewCache " YouCompleteMe ----------------------------------------------------------- {{{ "syntax on, must before the YCM, +" Load YouCompleteMe only on OSX +if !has("osx") + let g:loaded_youcompleteme = 1 +endif + "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' " this is fix youcompleteme python error "http://www.cnblogs.com/clivelee/p/4266559.html "https://github.com/Valloric/YouCompleteMe/issues/18 -let g:ycm_path_to_python_interpreter= '/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python' +"let g:ycm_path_to_python_interpreter= '/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python' let g:ycm_auto_trigger = 1 let g:ycm_seed_identifiers_with_syntax = 1 let g:ycm_show_diagnostics_ui = 0