All Projects → vim-scripts → ctags.vim

vim-scripts / ctags.vim

Licence: other
Display function name in the title bar.

Programming Languages

Vim Script
2826 projects
This is a mirror of http://www.vim.org/scripts/script.php?script_id=12

This script uses exuberant ctags to build the list of tags for the current file.  CursorHold event is then used to update titlestring.

Upon sourcing an autocommand is created with event type CursorHold.  It updates the title string using the function GetTagName.  Another autocommand of type BufEnter is created to generate tags for *.c, *.cpp and *.h files.

Function GenerateTags builds an array of tag names.

Function GetTagName takes line number argument and returns the tag name.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].