Created
October 4, 2015 08:59
-
-
Save y00rb/a6d9f3d43fadfa825461 to your computer and use it in GitHub Desktop.
How upgrade vim as system default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mercurial required - install if you don't already have it. | |
$ brew install mercurial | |
# install Vim | |
$ brew install vim | |
# if /usr/bin is before /usr/local/bin in your $PATH, | |
# hide the system Vim so the new version is found first | |
$ sudo mv /usr/bin/vim /usr/bin/vim72 | |
# should return /usr/local/bin/vim | |
$ which vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment