Skip to content

VimApi.maybeInitVimState_ method

VimApi › maybeInitVimState_

Unofficial

Initialize the Vim state for the given editor if not already initialized.

Signature:

maybeInitVimState_(cm: VimEditor): VimState

Parameters:

Parameter Type Description
cm VimEditor The editor instance.

Returns: VimStateThe Vim state.