The introduction of the best vim plugin: taglist.vim : Source code browser (supports C/C++, java, perl, python, tcl, sql, php, etc)

created by
Yegappan Lakshmanan

script type

The “Tag List” plugin is a source code browser plugin for Vim and
provides an overview of the structure of source code files and allows
you to efficiently browse through source code files for different
programming languages. You can visit the taglist plugin home page for
more information:

You can subscribe to the taglist mailing list to post your questions
or suggestions for improvement or to report bugs. Visit the following
page for subscribing to the mailing list:

For more information about using this plugin, after installing the
taglist plugin, use the “:help taglist” command.

install details
1. Download the file and unzip the files to the $HOME/.vim or the
$HOME/vimfiles or the $VIM/vimfiles directory. After this step, you should
have the following two files (the directory structure should be preserved):

plugin/taglist.vim – main taglist plugin file
doc/taglist.txt – documentation (help) file

Refer to the |add-plugin|, |add-global-plugin| and |runtimepath| Vim
help pages for more details about installing Vim plugins.
2. Change to the $HOME/.vim/doc or $HOME/vimfiles/doc or $VIM/vimfiles/doc
directory, start Vim and run the “:helptags .” command to process the
taglist help file. Without this step, you cannot jump to the taglist help
3. If the exuberant ctags utility is not present in your PATH, then set the
Tlist_Ctags_Cmd variable to point to the location of the exuberant ctags
utility (not to the directory) in the .vimrc file.
4. If you are running a terminal/console version of Vim and the terminal
doesn’t support changing the window width then set the
‘Tlist_Inc_Winwidth’ variable to 0 in the .vimrc file.
5. Restart Vim.
6. You can now use the “:TlistToggle” command to open/close the taglist
window. You can use the “:help taglist” command to get more information
about using the taglist plugin.

rate this script Life Changing Helpful Unfulfilling
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes 4.6 2013-02-27 6.0 Yegappan Lakshmanan 1. Fixed a bug in refreshing the folds in the taglist window when switching between Vim tabs with Tlist_Show_One_File enabled.
2. Update the TlistShowTag command output to display the tag scope.
3. Preserve the alternate file when opening the taglist window.
4. Restore the ‘cpo’ option value properly when the loading of the plugin is stopped.
5. When the plugin is recursively sourced, don’t change the ‘cpo’ setting to the default value.
6. If a filetype contains multiple file types separated by a dot, then use the first file type.
7. When displaying tag prototypes, trim the output to fit the window width.
8. Add support for some more languages.
9. Disable the ‘relativenumber’ option for the taglist window.
10. On MS-Windows, use writefile() to generate the temporary batch file instead of the redir command. This fixes a problem in using the generated batch file in multi-byte encoding environments.

Top Down