RsvimCmd
The Rsvim.cmd global object for Ex commands.
Example
// Create a alias to 'Rsvim.cmd'.
const cmd = Rsvim.cmd;
Type Aliases
| Type Alias | Description |
|---|---|
Command attributes. See | |
Command callback function, this is the backend logic that implements a user ex command. It accepts a See | |
Command runtime context. When a command is been execute, runtime information will be passed to the command callback function. | |
Command definition. | |
Command options when creating a command. See |
Functions
| Function | Description |
|---|---|
Create a ex command with a callback function. warning The builtin command Throws Throws TypeError if any parameters are invalid. Or throws Error if command name or alias already exists, but Example | |
Echo message to the command-line. Throws Throws TypeError if the parameter is Example | |
Get ex command definition by name. warning The builtin Example | |
List all registered ex command names. warning The builtin Example | |
Remove an ex command by name. warning The builtin command Throws Throws TypeError if name is not a string. Example |