Skip to content

Instantly share code, notes, and snippets.

@Hettomei
Last active December 22, 2015 20:59
Show Gist options
  • Save Hettomei/6530187 to your computer and use it in GitHub Desktop.
Save Hettomei/6530187 to your computer and use it in GitHub Desktop.
How I compile Vim on mac and link to homebrew
hg pull &&
hg update
make distclean &&
make clean &&
./configure --prefix=/usr/local/Cellar/vim/7.4 --enable-rubyinterp --enable-multibyte --with-features=huge &&
make &&
make install # STRIP=/usr/bin/true # Was needed before because any ":rubydo" turns in segfault
# when not linked in brew, only the first time do after install
brew link vim
# for next time
brew unlink vim && brew link vim
# Maybe before all installing vim you need
# mkdir -p /usr/local/Cellar/vim/7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment