VimApi.exitVisualMode method
VimApi › exitVisualMode
Unofficial
Leave visual mode, returning to normal mode.Signature:
exitVisualMode(cm: CodeMirrorEditor, moveHead?: boolean | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| cm | CodeMirrorEditor | The editor to act on. |
| moveHead? | boolean | undefined | Whether the cursor collapses onto the head of the selection. Pass false to leave it where it is. |
Returns: void