Then install this vim plugin using your favorite plugin manager, or copy
tagabana.vim to your .vim/plugin/ directory and start hacking.

Usage

Git+ctags Work-flow

When you git init, your template hooks will be copied into the new repository.
You can manually copy them into an existing git project. These hooks will
generate the ctags files in your $XDG_CACHE_HOME/vim/tags/ folder every time
you:

Ensure ~/.ctags Configuration

To set different ctags options, create yourself a ~/.ctags, I've included an
example at contrib/example.ctags

Vim work-flow

When you open Vim the plugin will try to detect the working-directory of the git
super-project or submodule, and tells Vim to use the generated ctags file in the
central location. This also happens after creating or reading a file. Note:
The plugin caches the tags location per-tab, so mixing different project files
in the same tab won't work as expected. You can easily change this behaviour to
act per-buffer by hacking on tagabana.vim.

Customization

Options

Options you can set in your .vimrc to overwrite default behaviour.

Option

Default

Description

g:tagabana_tags_dir

$XDG_CACHE_HOME/vim/tags/

Central directory for tags

g:tagabana_match_submodule

0

Match submodules as well?

Credits & Contribution

This plugin was developed by Rafael Bodill under the MIT License. Pull requests are welcome.