Feb 21, 2013

Vim ctags

Navigation
<C-LeftMouse>
<C-RightMouse>
:tags list the current tag stack
Ctrl-W } open the tag in the preview window

How do I list all the tags matching a search pattern?
:tag /<pattern>
:stag /<pattern>

Under your Python distribution
Tools/scripts/ptags.py

http://vim.wikia.com/wiki/Browsing_programs_with_tags


Configure ctags.
Add to ~/.ctags the following, one option per line:
--python-kinds=-i
optional: --exclude=<partial names of bad files/directories>. e.g. --exclude=*/migrations/* to exclude all files inside 'migrations/' directories

No comments: