How to upgrade Vim to version 8 on CentOS 7

Source: Internet
Author: User

Good students, now a lot of vim heavy users, the pursuit of vim into a first-class IDE, so many people want to upgrade vim to 8.0
But compiling and installing is a hassle, now share the experience of using Yum to upgrade vim from 7.0 to 8.0

[Email protected] ~]#vim --version
Vim-vi Improved 7.4 (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

[Email protected] ~]#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

[Email protected] ~]#yum update vim*
After it was successful, your Vim should be version 8.0 now:

3) Check

[Email protected] ~]#vim --version
Vim-vi Improved 8.0 (SEP, compiled 2 2017 16:29:21)
Included patches:1-839

How to upgrade Vim to version 8 on CentOS 7

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.