So I’ve been trying to get vim working on my macbook with the command-t plugin for file searching. I spent quite a while trying to get it working a while ago and finally did a really simple thing and it just worked.
git clone email@example.com:jgeiger/vim-config.git ~/.vim
git submodule update --init
ln -s ~/.vim/vimrc ~/.vimrc
sudo mv /usr/bin/vim /usr/bin/vim72
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/vim.rb
I’m using rbenv with ruby 1.9.3-p125 as my main ruby, but you need to make sure that you compile command-t against whatever ruby vim as compiled with. The homebrew-dupes forumla uses the system ruby (which lives at /usr/bin/ruby) and even if you have rbenv global set to another ruby, you can always directly use the system ruby.