同学们好,现在很多vim重度使用者呢,追求把vim打造成一流的IDE,于是很多人想着把vim升级到8.0
但是编译安装呢又很麻烦,现在就分享一下使用yum把vim从7.0升级到8.0的经验
[root@p-devops ~]# vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 21 2016 17:00:20)
Included patches: 1-160
How to upgrade it to version 8 which is the latest major version?
1)Add this repository
[root@p-devops ~]# curl -L https://copr.fedorainfracloud.org/coprs/mcepl/vim8/repo/epel-7/mcepl-vim8-epel-7.repo -o /etc/yum.repos.d/mcepl-vim8-epel-7.repo
2)Upgrade Vim to vim 8
[root@p-devops ~]# yum update vim*
After it is successful, your Vim should be version 8.0 now:
3)Check
[root@p-devops ~]# vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug 2 2017 16:29:21)
Included patches: 1-839
转载于:https://blog.51cto.com/jinyan2049/2159167