Skip to content

Instantly share code, notes, and snippets.

@newacorn
Forked from yevrah/Upgrade vim
Created July 27, 2018 15:50
Show Gist options
  • Save newacorn/d0082aa59e373a58426dea4fbdd1a1d0 to your computer and use it in GitHub Desktop.
Save newacorn/d0082aa59e373a58426dea4fbdd1a1d0 to your computer and use it in GitHub Desktop.

Revisions

  1. @yevrah yevrah created this gist Feb 7, 2018.
    19 changes: 19 additions & 0 deletions Upgrade vim
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    # 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