参考
https://gist.github.com/yevrah/21cdccc1dc65efd2a4712781815159fb
命令
yum -y groupinstall "Development Tools"
yum -y install ncurses-devel git-core
cd /tmp
git clone https://github.com/vim/vim && cd vim
./configure --with-features=huge --enable-pythoninterp=yes --enable-cscope --enable-fontset --with-python-config-dir=/usr/lib64/python2.7/config --enable-python3interp=yes --with-python3-config-dir=/usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu --with-python3-command=/usr/bin/python3 --enable-multibyte
make && sudo make install
cp /usr/local/bin/vim /usr/bin/vim