RsvimCmd
The Rsvim.cmd
global object for Ex commands.
tip
The "ex command" mostly describes the product function, i.e. when user types ":" in normal mode, user can move cursor to command-line and input commands. Rather than referring to the "ex commands" in Vim editor.
Example
// Create a alias to 'Rsvim.cmd'.
const cmd = Rsvim.cmd;
Methods
echo()
echo(message): void;
Echo message to the command-line.
Parameters
Parameter | Type | Description |
---|---|---|
|
| It accepts string and other primitive types, except |
Returns
void
Throws
Throws Error if no parameter provided, or the parameter is null
or undefined
.
Example
Rsvim.cmd.echo("Hello Rsvim!");