VimState
interface exported by @mwillbanks/tuil-editor.
interface
Public interface exported by @mwillbanks/tuil-editor.
export interface VimState {
readonly mode: VimMode;
readonly count: number;
readonly pendingOperator?: "delete" | "change" | "yank";
readonly commandLine: string;
readonly registers: Readonly<Record<string, string>>;
readonly marks: Readonly<Record<string, EditorPosition>>;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
mode | VimMode | Yes | The mode member uses the VimMode contract. | VimMode |
count | number | Yes | The count member uses the number contract. | — |
pendingOperator | "delete" | "change" | "yank" | undefined | No | The pendingOperator member uses the "delete" | "change" | "yank" | undefined contract. | — |
commandLine | string | Yes | The commandLine member uses the string contract. | — |
registers | Readonly<Record<string, string>> | Yes | The registers member uses the Readonly<Record<string, string>> contract. | — |
marks | Readonly<Record<string, EditorPosition>> | Yes | The marks member uses the Readonly<Record<string, EditorPosition>> contract. | EditorPosition |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference