vim 安装YouCompleteMe
2018-05-12 本文已影响38人
疯狂的冰块
1、安装Vundle 插件
https://github.com/VundleVim/Vundle.vim#quick-start
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
2、 安装YouCompleteMe
https://blog.csdn.net/mergerly/article/details/51684155
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
git clone https://github.com/Valloric/YouCompleteMe.git ~/.vim/bundle/YouCompleteMe
cd ~/.vim/bundle/YouCompleteMe
git submodule update --init --recursive
./install.py
如果出现
YouCompleteMe unavailable: requires Vim compiled with Python (2.7.1+ or 3.4+) support
执行命令
sudo apt install vim-python-jedi
vim
I是定位到行首,A是定位到行末。
0定位到行首$定位到行尾