Patch Vim with the breakindent patch on OS X with Homebrew
homebrew, macos, patch, vim
Solution
Use Mercurial to get the latest Vim source code:
$ hg clone https://vim.googlecode.com/hg/ vim
$ cd vim
Grab the patch.
Apply the patch as indicated in the linked thread:
$ patch -p1 < /path/to/breakindent.patch
Configure Vim with the options you need (python/ruby support, custom location, etc.):
$ ./configure --with-features=huge <other options>
Build and install:
$ sudo make && make install
Problem
I'm on OS X 10.7 with Vim 7.3. I'd like to install the breakindent patch. Here's a way to do it on Linux with `apt-get`: Compiling VIM with breakindent patch. How do I do this? I suppose it will involve building Vim via Homebrew (which is OK with me).