- 确保vim在7.4以上版本并且支持python
apt install -y build-essential cmake python3-dev
cd ~/.vim/bundle/
git clone https://github.com/ycm-core/YouCompleteMe.git
cd YouCompleteMe
git submodule update --init --recursive
python install.py
apt install -y build-essential cmake python3-dev
cd ~/.vim/bundle/
git clone https://github.com/ycm-core/YouCompleteMe.git
cd YouCompleteMe
git submodule update --init --recursive
python install.py