脚本

1
2
3
4
5
6
7
8
yum -y remove vim
yum -y install gcc ncurses-devel
git clone -b v8.1.0037 https://github.com/vim/vim.git
cd vim
./configure -enable-pythoninterp -enable-luainterp -enable-multibyte -enable-cscope
make
make install
ln -s /usr/local/bin/vim /usr/bin/vim

参考文档

  1. https://blog.csdn.net/lj_trestg/article/details/79754268