VimApi.exitInsertMode method
VimApi › exitInsertMode
Unofficial
Exit insert mode, optionally keeping the cursor position.Signature:
exitInsertMode(cm: VimEditor, keepCursor?: boolean | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| cm | VimEditor | The editor instance. |
| keepCursor? | boolean | undefined | Whether to keep the cursor position. |
Returns: void