ctags.vim : Display function name in the title bar.
script karma |
Rating 45/26,
Downloaded by 4395 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Alexey Marinichev |
|
script type |
utility |
|
description |
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. |
|
install details |
Before sourcing the script do:
let g:ctags_path='/path/to/ctags'
let g:ctags_args='-I __declspec+' (or whatever other additional arguments you want to pass to ctags)
:CTAGS command starts the script. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 13.58.157.160
|