This is what I use. You can probably modify for your needs:
http://github.com/msanders/vim-files/blob/master/autoload/functionator.vim
http://github.com/msanders/vim-files/blob/master/plugin/functionator.vim

On Mon, Sep 21, 2009 at 11:16 AM, Laszlo Papp <[email protected]> wrote:

> Hello!
>
> It would be nice if there was a command which could give back in a C/C++
> file the actual function/class/etc. name in which the cursor/position is
> without taglist using.
>
> Exaple usage: :funcact
> Result: helloworld() function
>
> Best Regards,
> Laszlo Papp
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui