I use neoVim now
https://github.com/jason9075/dotfiles
vim --version | grep VIM
I use 8.1 above.
git clone https://github.com/jason9075/vim-setup .vim
ln -s .vim/.vimrc .
vim +PlugInstall +qall
If you want to build some python program in ubuntu, you can run following command:
pip install -r .vim/requirements.txt
apt install build-essential cmake vim-nox python3-dev
apt install mono-complete golang nodejs default-jdk npm
cd ~/.vim/plugged/YouCompleteMe
python3 install.py --all
If you have different env in different project. You can create .ycm_extra_conf.py
file to specify which python for use.
def Settings( **kwargs ):
return {
'interpreter_path': '/path/to/virtual/environment/python'
}
put this file in your project root dir.