问题1
错误提示:
The ycmd server SHUT DOWN (restart with ‘:YcmRestartServer’). Unexpected exit code 1.
cd ~/.vim/plugged/YouCompleteMe/
/usr/bin/python install.py
问题2
克隆vimplus插件时失败
cd .vim/autoload/
vi plug.vim
- 将
let fmt = get(g:, 'plug_url_format', 'https://git::@github.com/%s.git')
改为let fmt = get(g:, 'plug_url_format', 'https://git::@hub.fastgit.org/%s.git')
- 将
\ '^https://git::@github\.com', 'https://github.com', '')
改为\ '^https://git::@hub.fastgit\.org', 'https://hub.fastgit.org', '')
问题3
解决python-dev无法安装(依赖关系)
sudo apt-get install aptitude
sudo aptitude install python-dev
采用降级的方法,询问时依次回答: n y y
问题4
使用插件去除多余空格
vim ~/.vimrc
Plug 'bronson/vim-trailing-whitespace'
:w
:PlugInsta