Search notes:

VIM: src/ex_cmds.h

exarg / exarg_T

ex_cmds.h defines the struct exarg / exarg_T which manages the arguments for an ex command.

ex_func_T

ex_func_T is a typedef for a function pointer that points to the function that manages a specific ex command:
typedef void (*ex_func_T) (exarg_T *eap);
These functions are (as it seems to me) implemented in ex_docmd.c.

cmdnames

cmdnames is an array of cmdname. Each cmdname defines the specifics of an ex command.

Adding new ex-commands

When a new ex command is added to ex_cmds.h, the file ex_cmdidxs.h needs to be generated with create_cmdidxs.vim

See also

ex_cmds.h

Index