Skip to content

Instantly share code, notes, and snippets.

@nvasilakis
Created June 28, 2013 00:05
Show Gist options
  • Select an option

  • Save nvasilakis/5881458 to your computer and use it in GitHub Desktop.

Select an option

Save nvasilakis/5881458 to your computer and use it in GitHub Desktop.
# 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
@nvasilakis

Copy link
Copy Markdown
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment