# Ropevim and MacVim

I’m trying to get rope to work with omnicomplete in Vim. To do this, I want to use rope-omni to provide the omnifunc.

easy_install ropevim


This fails because macvim still can’t import ropevim, even though I have it installed. The problem seems to be that macvim is linked against the system python, not the homebrew python (through which everything else is installed). I don’t like this.

Okay, here goes… following these instructions: http://buntin.org/2011/05/12/os-x-hombrew-macvim-and-python-2-7-1-troubles/

Uninstalled MacVim. Then did:

cd /System/Library/Frameworks/Python.framework/Versions/
sudo rm Current
sudo ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current
brew install macvim