非root用户服务器上安装vimplus

vimplus ☞ YCP不支持服务器上vim7.4 ☞ vim8.1源码编译 ☞ 编译器ncurses源码编译及编译前导入环境变量

  • 服务器上无权限用yum:下载源码安装,先.config 写入配置文件,配置好vim的各种配置和相应解释路径;再make && make install
  • 编译时makefile连接选项LDFLAGS:export LDFLAGS="-L$HOME/Applications/ncurses/lib",如果需要library,则在编译前一定要导入环境
  • 解决YouCompleteMe unavailable: requires Vim compiled with Python (2.6+ or 3.3+) support:--enable-pythoninterp=yes --with-python-config-dir=$HOME/soft/lib在vim写config时导入python3的config路径时,总编译不成功 ☞ 选项换成python3interp = dynamic,编译成功
  • 又出新问题YouCompleteMe unavailable: unable to load Python.pip install neovim没用,google不到解决方法,放弃!最终YCM还是用不了,但是其他功能均可用