1.brew install vim
2.Install vundle plug-in manager
3.Install youcomplete plug-in
My vim has a prompt, but the prompts are only some characters in the current script. It does not prompt system library functions or other automatic input.
And you can’t complete it even by pressing the tab key.
YCM
对于clang
的补全需要依赖clang++ 3.70
及以上的版本。另外补全不一定是tab
, 你得看看.vimrc怎么设置的,我的是ctrl + j或者k
Make your choiceIf everything is installed, then open
vim
之后,使用Vundle
看看是不是安装成功,如果成功的话,那可能是配置问题了,下面是我本机的
YCM
the configuration in vimrc.bundle: See if it helps?