Skip to content

VimModeChangeEvent

Unofficial

The payload of the vim-mode-change event, raised on an editor whenever its Vim mode changes.

Import:

import type { VimModeChangeEvent } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface VimModeChangeEvent

Properties

PropertyTypeDescription
modeVimModeThe mode the editor has changed to.
subMode?VimSubModeHow visual mode is selecting. Only present when mode is visual.