码迷,mamicode.com
首页 > 系统相关 > 详细

How to upgrade vim to version 8 on CentOS 7

时间:2018-08-13 18:10:33      阅读:326      评论:0      收藏:0      [点我收藏+]

标签:you   centos   sep   curl   date   should   rac   epel   acl   

同学们好,现在很多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

How to upgrade vim to version 8 on CentOS 7

标签:you   centos   sep   curl   date   should   rac   epel   acl   

原文地址:http://blog.51cto.com/jinyan2049/2159167

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!