一、源码编译安装vim8.0
配置epel源
yum install epel-release
安装python3,以及vim8.0编译环境
yum install -y gcc python34 python34-devel ncurses-devel wget libzip bzip2 git
下载vim8.0
wget ftp://ftp.vim.org/pub/vim/unix/vim-8.0.tar.bz2
tar -jxf vim-8.0.tar.bz2
cd vim80
编译安装并支持python3
make clean
./configure --prefix=/usr/local/vim8 --enable-fail-if-missing --enable-python3interp --enable-multibyte --enable-fontset --with-features=huge
make
make install
查看安装的vim信息
/usr/local/vim8/bin/vim --version