is it possible to have the function name, while editing a C/C++ file
in the status bar (or whatever it's called) beside the opened file
and the line number?
Regards,
S.
Hmm, I extraced the taglist plugin under ~/.vim/ as per the
instructions and updated my statusline setting in ~/.vimrc so it looks
like this:
set statusline=%<%#MyGitBranch#%{GitBranchInfoString()}%*\
%f%=%([%{Tlist_Get_Tagname_By_Line()}]%)\ %h%m%r%=%-14.(%l,%c%V%)\ %P
(If this mailer wraps that line it's actually all on one line in my ~/.vimrc)
Yet I see *nothing* printed out on my statusline when editing .c
files, and I even manually:
:so ~/.vim/plugin/taglist.vim
.... just in case, but that had no effect for the statusline. I can
use other features of the taglist plugin whether I manually source it
or not, so I know it's loading up just fine.
Any ideas why I might not see the function name?
Thanks!
David
Because I don't use it, I just use ctags and cscope, which
should be the equivalent to taglist if I understood correctly
the plugin after a quick read.
Thannks to all for the replies.
Regards,
S.
There is this one, which I use.
ctags.vim : Display function name in the title bar and/or the status line
http://vim.sourceforge.net/scripts/script.php?script_id=610
Regards,
Gary