Amazon.com Widgets

Agile Otaku

Replace Vim in Mac OS X Lion

I want to develop rails in my Lion OS, but the default vim doesnt have +ruby enabled. Doing a new compile of vim, make and make install does not replace it automatically not like in linux. Probably I dont have my path properly setup, but I dont want to bother so this is what I do

# do this if you dont have mercurial installed yet
sudo port install mercurial
# do this if you havent downloaded vim code yet which is most likely if you did not have mercurial
hg clone https://vim.googlecode.com/hg/ vim
cd vim
./configure   --enable-pythoninterp=yes --enable-rubyinterp=yes
make
make install
//now make install is not enough, lets replace the current
mv /usr/bin/vim /usr/bin/vim.orig
ln -s src/vim /usr/bin/vim

Comments