Saturday, October 29, 2011

'Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.' error in MacVim (Janus)

After launching MacVim you may get this annoying error message:
'Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.'

To remove this you have to install ctags which you can download from http://ctags.sf.net.
After you unziped it, you have to set the Tlist_Ctags_Cmd variable in the .vimrc file to point to the ctags folder.

let Tlist_Ctags_Cmd = '/usr/local/bin/ctags'

After that you have to restart vim and the message should not pop up again.

Tuesday, October 25, 2011

Launching MacVim from Command line

Put this into your .profile or .zshrc file
function mvim { /Applications/MacVim.app/Contents/MacOS/Vim -g $*; } 

Then you can use 'mvim' in the command line.

The full explanation is in the MacVim Google Groups