我正在使用vundle安装vim插件,但我需要YouCompleteMe从分支安装,fix-vim-eval-returning-py2-str因为我必须使用python3,否则我会出错。
为此,我已经下载了master分支,vundle然后:PluginInstall我必须这样做:
cd ~/.vim/bundle
rm -rf YouCompleteMe
git clone -b fix-vim-eval-returning-py2-str https://github.com/puremourning/YouCompleteMe.git
cd YouCompleteMe
git submodule update --init --recursive
要更改分支。
问题是有时 vundle 用master (与我的系统不兼容)替换我的早午餐,我必须Plugin 'Valloric/YouCompleteMe'在我的线路上留下线路,.vimrc否则插件不起作用。我该如何解决?