vim python支持

时间:2019-10-08 15:58:10   收藏:0   阅读:70
yum remove vim -y
 yum install ncurses-devel python-devel -y
git clone https://github.com/vim/vim.git
cd vim/src
./configure --with-features=huge             --enable-multibyte             --enable-rubyinterp=yes             --enable-pythoninterp=yes             --with-python-config-dir=/usr/lib64/python2.7             --enable-python3interp=yes             --with-python3-config-dir=/usr/local/python3/lib/python3.7/config-3.7m-x86_64-linux-gnu             --enable-luainterp=yes             --enable-cscope             --prefix=/usr/local/vim
make
make install

 

export PATH=$PATH:/usr/local/vim/bin/

 

编译参数说明:

原文:https://www.cnblogs.com/yinliang/p/11635634.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!