The default ctags
executable in OSX does not support recursive directory
search (i.e. ctags -R
). To get a proper copy of ctags, use one of the
following options:
-
Using
Homebrew
brew install ctags
-
Using
MacPorts
port install ctags
To install ctags use your package manager.
-
For Debian-based systems (Ubuntu, Mint, etc.)::
sudo apt-get install exuberant-ctags
-
For Red Hat-based systems (Red Hat, Fedora, CentOS)::
sudo yum install ctags
git clone git@github.com:smalldirector/oh-my-vim.git ~/.oh-my-vim
cp ~/.vimrc ~/.vimrc.bak
ln -s ~/.oh-my-vim/vimrc ~/.vimrc
ln -s ~/.oh-my-vim/vimrc.bundles ~/.vimrc.bundles
let g:tagbar_ctags_bin='CTAGS_PATH'
If you use Homebrew
to install ctags
on OS X, this configuration shoule be
let g:tagbar_ctags_bin='/usr/local/Cellar/ctags/5.8_1/bin/ctags'
and this is the default configuration in the template vimrc file, please change it with your requirement.
We use Vundle
to manage our vim plugins, so run :PluginInstall
command to install all essential plugins.
Oh My Vim is released under the MIT license.