VimStateVim
Unofficial
Core Vim state holding mode, input state, and edit history.
Import:
import type { VimStateVim } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface VimStateVimProperties
| Property | Type | Description | |
|---|---|---|---|
| inputState | VimStateVimInputState | Current input state of the Vim command parser. | |
| insertMode | false | Whether the editor is currently in insert mode. | |
| insertModeRepeat | undefined | Repeat count for the current insert mode session. | |
| lastEditActionCommand | undefined | The last edit action command that was executed. | |
| lastEditInputState | undefined | Input state snapshot of the last edit action. | |
| lastHPos | number | Last horizontal cursor position (column). | |
| lastHSPos | number | Last horizontal cursor screen position. | |
| lastMotion | VimStateVimLastMotion | The last motion that was executed. | |
| lastPastedText | null | The last text that was pasted. | |
| lastSelection | null | The last visual selection range. |
Links to this page: