原文链接: linux下编译vim8

目的

开启系统剪切板
开启python3支持

依赖

1
dnf install -y lua-devel python3-devel tcl-devel ruby-devel ncurses-devel libXt-devel

编译

./configure –with-features=huge \
–enable-fail-if-missing \
–enable-luainterp=yes \
–enable-mzschemeinterp \
–enable-tclinterp=yes \
–enable-python3interp=yes \
–with-python3-config-dir=/usr/lib64/python3.5/config-3.5m \
–enable-cscope \
–with-x=yes \
–prefix=/usr/ \
–with-compiledby=$USER

make -j $((nproc*2)) && make install

其他补充

自动安装配置vim请见
https://github.com/shuhm-gh/oh-my-vim