此安装环境为: Ubuntu16.04python
1、须要下载或安装的资源:git
2、简介github
1. 首先确保vim版本至少7.3.598以上, 还有支持pythonvim
① 查看vim版本, 输入命令vim -version资源
② 查看vim是否支持python, 输入命令vim --version | grep pythonit
如图显示与+python和-python, 这就说明个人vim是支持python的io
3、使用Vundle安装YouCompleteMemodule
1. 安装Vundledate
用git down下全部须要的资源, 没有安装git 自行安装git下载
执行命令以下命令:
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
将Vundle下载到.vim文件夹下。
2. 安装YouCompleteMe
执行命令以下命令:
git clone https://github.com/Valloric/YouCompleteMe.git
将YCM下载到.vim/bundle下
下载完毕后, 手动检查仓库完整性, 切换到YouCompleteMe目录下, 输入以下命令:
git submodule update --init --recursive