1.下载
https://github.com/Valloric/YouCompleteMe
git clone --recursive https://github.com/Valloric/YouCompleteMe.git
使用git submodule update --init --recursive确认仓库的完整性
2. 安装
cd ~
mkdir ycm_build
cd ycm_build
cmake -G “Unix Makefiles” -DPATH_TO_LLVM_ROOT=~/ycm_temp/llvm_root_dir . ~/.vim/bundle/YouCompleteMe/cpp make ycm_support_libs

本文详细介绍了如何通过git clone下载YouCompleteMe插件,并使用git submodule确保仓库完整性。接着,指导读者如何在Vim编辑器中进行安装与配置,包括路径设置、构建和依赖库引入等关键步骤。
2525

被折叠的 条评论
为什么被折叠?



