Show the current function name in the statusline
Sometimes it's handy to have the name of the current function at a glance (specially for big functions that don't fit on your whole screen.)
set statusline +=\ %{Tlist_Get_Tagname_By_Line()}
That's what this line does if you put it in your .vimrc and that you have taglist plugin installed.
(Note that the same thing is possible with tagbar by using the equivalent function.)
Written by Taurus Olson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#