Skip to content

Instantly share code, notes, and snippets.

@snsnsjsn
Forked from yevrah/Upgrade vim
Created August 12, 2018 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snsnsjsn/91ebde4f7105fd5a5c8fbfda447a6fe5 to your computer and use it in GitHub Desktop.
Save snsnsjsn/91ebde4f7105fd5a5c8fbfda447a6fe5 to your computer and use it in GitHub Desktop.
Update to Vim8 on Centos 7
# You may use this CentOS 7 repository on Fedora Copr for Vim 8 builds.
# https://copr.fedorainfracloud.org/coprs/mcepl/vim8/
#
# Run these commands on CentOS 7.
# Add this repository:
sudo 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
# Upgrade Vim to vim 8:
sudo yum update vim*
# After it is successful, your Vim should be version 8.0 now:
vim --version
# You should see...
# VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug 2 2017 16:29:21)
# Included patches: 1-839
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment