Aug 17, 2009

Vim and CTaglist plugin

My ctaglist plugin stopped working after I migrated to my new MacBook Pro 13". After playing with it for a few minutes, I realized that my default ctags cmd is not correct. To have your ctaglist working, you have to use Exuberant Ctags. I am hoping this could save you some time for looking for the answer.

$> wget http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz
$> tar zxvf ctags-5.8.tar.gz
$> cd ctags-5.8
$> ./configure && make && sudo make install

You probably have to copy it over the old one if you not set the $PATH on you Mac( there is a ctags under /usr/bin)

$> sudo cp ctags /usr/bin/.

That's it, start you Vim, you are ready to go.

No comments: