Created
June 28, 2013 00:05
-
-
Save nvasilakis/5881458 to your computer and use it in GitHub Desktop.
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
| # In case you haven't, grab mercurial binaries from http://mercurial.berkwood.com/ | |
| cd ~/Downloads | |
| hg clone https://vim.googlecode.com/hg/ vim | |
| cd vim | |
| #configure is the important bit here! | |
| ./configure --prefix=/usr/ --enable-rubyinterp --enable-pythoninterp --with-features=huge | |
| make | |
| sudo make install |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pre-installed vim in OS X, among other things, does not come compiler with the +clipboard configuration, which means that it lacks the handy "+y "+p tricks to interface with the system clipboard. That's a script to grab, compile and install latest vim with these flags, plus ruby and python support for scripting.
The hard thing here is the /usr/ prefix during configuration; if you put ordinary /usr/bin, vim creates a bin and a share directory in there with executables and man pages!