VimApi.defineEx method
VimApi › defineEx
Unofficial
Define a new Ex command with the given name and prefix.Signature:
defineEx(name: string, prefix: string, func: (cm: VimEditor, params: object) => void): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the Ex command. |
| prefix | string | The prefix for the Ex command. |
| func | (cm: VimEditor, params: object) => void | The function to execute for the Ex command. |
Returns: void