首页 > 系统服务 > 详细

CentOS7 升级 Vim

时间:2021-05-24 15:17:12      阅读:18      评论:0      收藏:0      [点我收藏+]
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 15 2020 16:44:08)
$ yum -y remove vim*
# https://github.com/vim/vim/releases
$ wget https://github.com/vim/vim/archive/refs/tags/v8.2.2879.tar.gz
$ tar -zxvf v8.2.2879.tar.gz
$ cd vim-8.2.2879
$ yum -y install gcc ncurses ncurses-devel
# --with-features=huge:支持最大特性
# --enable-[ruby|python|python3|lua|perl]interp:打开对[ruby|python|python3|lua|perl]编写的插件支持
# --enable-multibyte:多字节支持
# --enable-cscope:打开对cscope的支持
# --with-python-config-dir=...:指定python路径
$ ./configure --with-features=huge --enable-multibyte --enable-cscope --prefix=/usr/local
$ make
$ make install
$ vim --verison
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 24 2021 19:33:48)

CentOS7 升级 Vim

原文:https://www.cnblogs.com/lb477/p/14803708.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!