centos7 install vim8

centos7 install vim8

Git and dependency

Git: https://github.com/vim/vim

# yum install -y perl-devel

configure

CFLAGS="-I/usr/lib64/perl5/CORE/"

./configure --with-features=huge 
            --enable-multibyte 
            --enable-rubyinterp=yes 
            --enable-pythoninterp=yes 
            --with-python-config-dir=/usr/lib/python2.7/config 
            --enable-python3interp=yes 
            --with-python3-config-dir=/usr/lib/python3.5/config 
            --enable-perlinterp=yes 
            --enable-luainterp=yes 
            --enable-gui=gtk2 --enable-cscope


# --prefix=/usr/local/vim8

install

make -j 3
make install
原文地址:https://www.cnblogs.com/muahao/p/10925483.html