StarWing wrote:
> e.g. if i have some functions named my_func_.... like my_func_a,
> my_func_b, my_func_here. and i type this command:
> :function /^my_func_.*$/
> it will list all my functions, but, if i'm in a script, how can i get
> this command's output? can i re-direct the output? (it's not message,
> so i can't use :redir)

It *is* a message so you *can* use :redir!

> or any other ideas about get this informations
> 
> btw, how can i get a global-variables list in vim?

Perhaps use :redir with :let (without any arguments).

However, I'm a little at a loss as to why you would want to do either of
these things. Perhaps if you let us know the real problem you are trying
to solve someone will come up with a different/better way to do it. The
use of the exists() function springs to mind as something that's likely
to be useful.

Ben.




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

Reply via email to