安装Vim自动补全插件YouCompleteMe

2016-09-16  本文已影响180人  许宏川

安装方式是Vim的插件管理器Vundle,没用过的话可以看这篇文章

首先在~/.vimrc加入新插件。

Plugin 'Valloric/YouCompleteMe'

保存重新打开一个Vim在命令模式安装。

:PluginInstall

安装CMake。

brew install CMake

编译安装,如果需要加入C#支持还需要加入--omnisharp-completer参数。

cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer

动图来自官网

上一篇下一篇

猜你喜欢

热点阅读