(Re-formatting replies for mailing list conventions. Please don't "top-post" - see the link at the bottom each posting for more information.)
On 10/06/2010 01:08 PM, Aman Jain wrote: > On Oct 6, 12:58 pm, Gary Johnson <[email protected]> wrote: >> This is what I use: >> >> http://vim.sourceforge.net/scripts/script.php?script_id=610 >> >> It uses ctags and displays in either the status line or the title >> bar the name of the nearest tag that is above the current cursor >> location. The tags are generated automatically. > Any other solution? since I don't want to make ctags for a single file > browsing. Though I haven't tried the plugin Gary suggested, he did mention that the tags are generated automatically. You'd need to have the "ctags" program itself, but you shouldn't need to make the tags yourself. For this same purpose (along with other features), I've been using the taglist plugin: http://www.vim.org/scripts/script.php?script_id=273 Its help page has a section entitled: "Displaying the tag name in the Vim status line or the window title bar" It shows how to setup your status line to display the current function. As with the other plugin, you don't need to manually generate any tags. They are automatically generated by the plugin using the ctags program. Michael Henry -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
