VimApi.exitVisualMode method
VimApi › exitVisualMode
Unofficial
Exit visual mode, optionally moving the head of the selection.Signature:
exitVisualMode(cm: VimEditor, moveHead?: boolean | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| cm | VimEditor | The editor instance. |
| moveHead? | boolean | undefined | Whether to move the head of the selection. |
Returns: void