In comp.editors, Ottavio Caruso <
ottavio2006...@yahoo.com> wrote:
> In standard nvi (not Vim), typing :exu or :viu, you get, respectively, a
> nice list of all ex and vi commands. Is there a way to dump this list to
> a file?
https://repo.or.cz/nvi.git/blob/HEAD:/ex/ex_usage.c#l58
Looks like it just printf()s the stuff, so probably it can't be
redirected. That bit about newscreen does make it a little more
ambiguous, since that could be a way to have stuff redirected.
All of the usage info is in ex/ex_cmd.c if you want to parse it out of
the source, or write a program to print it for you.
Elijah
------
in vim, there's a more thorough :help system