Wednesday, October 6, 2010

Re: how to know which function I am in currently?

On 2010-10-06, Aman Jain wrote:
> Hi
>
> Sometimes while browsing code, I feel a need to quickly know what
> function I am inside, especially when the function is very huge, and I
> am lost somewhere in the middle.
> Is there a way by which i can display the function name/class name/
> structure name etc. on the status line?

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.

Regards,
Gary

--
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

No comments: