VimApi.maybeInitVimState_ method
VimApi › maybeInitVimState_
Unofficial
Get an editor's Vim state, creating it if Vim mode has not touched this editor yet.Signature:
maybeInitVimState_(cm: CodeMirrorEditor): VimStateVimParameters:
| Parameter | Type | Description |
|---|---|---|
| cm | CodeMirrorEditor | The editor to act on. |
Returns: VimStateVim — The editor's Vim state.