Wednesday, February 26, 2014

Taglist - A VIM Plugin for browsing the source code

Browsing the source codes in VIM can be made easy using the plugin "Taglist". It supports many programming languages like C, C++, C#, Python, Java etc. (for the complete list refer An intro on Taglist).

Download and install the taglist plugin for VIM from,
http://vim-taglist.sourceforge.net/

After installing the plugin, we can set taglist variables in the '~/.vimrc' file based on our requirement. For the details on taglist variables, refer taglist usage.

Some taglist variables in my '~/.vimrc',

"Set to automatically open the taglist window on VIM startup
let Tlist_Auto_Open = 1
"Set for the vim to exit when only the taglist window is present
let Tlist_Exit_OnlyWindow = 1
"Set for reducing the number of empty lines in the taglist window
let Tlist_Compact_Format = 1