Skip to content

VimState

Unofficial

The state bag hanging off a CM5 editor adapter, which is where the Vim layer keeps everything it associates with that editor.

Import:

import type { VimState } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface VimState

Properties

PropertyTypeDescription
overwrite?booleanWhether typing replaces the character under the cursor rather than inserting before it.
vimVimStateVimVim's mode and command state for this editor.
vimPluginVimStateVimPluginVim plugin state for tracking key events.

Methods

MethodReturnsDescription
closeVimNotification()voidDismiss the notification the Vim layer is currently showing. Only present while one is showing.

Links to this page: