1. 首先clone vim8代码库
    git clone https://github.com/vim/vim.git

  2. 然后编译
    注意下自己的python2.7config在哪儿

./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=/usr/lib64/python2.7/config \ # pay attention here check directory correct
--enable-python3interp=yes \
--with-python3-config-dir=/usr/lib/python3.5/config \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gtk2 \
--enable-cscope \
--prefix=/usr/local 
  1. 对于vimplug
    配置下Plug 'valloric/youcompleteme'

  2. 进入~/.vim/plugged/youcompleteme
    执行/usr/bin/python ./install.py --clang-completer
    或者直接./install.py

结束

相关文章:

  • 2022-02-17
  • 2021-12-10
  • 2021-08-07
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2022-03-08
  • 2021-11-13
猜你喜欢
  • 2021-07-03
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案