On 2006-04-06, Sorav Bansal <[EMAIL PROTECTED]> wrote:
> Is it possible to display the name of the C function in which the
> cursor is currently placed? It would be great if I could get type
> <Ctrl-G> (or any other key combo) to display the function name (along
> with filename and line number).
> 
> Sorav

There's also this script,

    http://www.vim.org/scripts/script.php?script_id=610

which displays the function name in the status line or in the title 
bar.  It uses ctags, so it has the advantage over some other methods 
of not messing with your cursor as you move through a file, but the 
disadvantage of getting out of sync with the actual file contents 
while you're editing.

HTH,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

Reply via email to