VimApi.defineEx method
VimApi › defineEx
Unofficial
Register an Ex command, and map it to:name.Signature:
defineEx(name: string, prefix: string, func: VimExFn): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| name | string | The command's full name. |
| prefix | string | The shortest abbreviation that invokes it. The prefix itself, and any substring of name that starts with it, will invoke the command. Falsy leaves name as the prefix. |
| func | VimExFn | The implementation. |
Returns: void