vim taglist plugin for developers

June 1st, 2008 mysurface Posted in vi, vim | Hits: 63003 | 3 Comments »

Taglist plugin provides vim to support source code browsing capabilities at sidebar. When you enable taglist, sidebar windows will be listing functions, classes, structures, enumerations, macro definitions and other parts of a source code file as shortcut. Shortcut will jump you to the particular portion of codes within a single page.

The taglist may have already installed by default at some linux distro, try to type the line below in your vim to verify.

:TlistToggle

If the tagllist appears as sidebar, meaning taglist was installed. If not, you may download taglist plugins from http://vim-taglist.sourceforge.net/

You may want to add a key bindings to toggle the Taglist, append this into ~/.vimrc

nnoremap <F12> :TlistToggle

In console, to switch between main window and taglist sidebar window, you can press CTRL+WW. Wheres in gvim, you do not need to switch between taglist window and main window, you may just double click the shortcut.

Taglist support for many programming and scripting languages, such as Assembly, ASP, Awk, Beta, C, C++, C#, Cobol, Eiffel, Erlang, Fortran, HTML, Java, Javascript, Lisp, Lua, Make, Pascal, Perl, PHP, Python, Rexx, Ruby, Scheme, Shell, Slang, SML, Sql, TCL, Verilog, Vim and Yacc.

Taglist also do not limit to the language above, because taglist allow you to easily extend the support of new languages. Learn more about taglist at http://vim-taglist.sourceforge.net/

3 Responses to “vim taglist plugin for developers”

  1. Thanx for the tip, one minor comment:
    To switch between main window and taglist sidebar window you press CTRL+WW instead of SHIFT+WW (atleast with my fedora 9 VIM)

  2. Thanks Wretch, that is a typo, it should be CTRL+WW

  3. Taglist and Python?

    Hi does anyone know a way to get Taglist to work correvtly with Python codes? I can get see the funtions but no variables local or global are listed in the tree

Leave a Reply