Defined in: hotkey-sequence-recorder.ts:85
Framework-agnostic class for recording multi-chord sequences (Vim-style shortcuts).
Each step is captured like a single hotkey chord. Press Enter (no modifiers) to commit when HotkeySequenceRecorderOptions.commitKeys is 'enter' (default), Escape to cancel, Backspace/Delete to remove the last step or clear when empty.
new HotkeySequenceRecorder(options): HotkeySequenceRecorder;
Defined in: hotkey-sequence-recorder.ts:98
HotkeySequenceRecorder
readonly store: Store<HotkeySequenceRecorderState>;
Defined in: hotkey-sequence-recorder.ts:86
cancel(): void;
Defined in: hotkey-sequence-recorder.ts:292
void
commit(): void;
Defined in: hotkey-sequence-recorder.ts:243
Commit the current steps as a sequence. No-op if fewer than one step.
void
destroy(): void;
Defined in: hotkey-sequence-recorder.ts:320
void
setOptions(options): void;
Defined in: hotkey-sequence-recorder.ts:106
Partial<HotkeySequenceRecorderOptions>
void
start(): void;
Defined in: hotkey-sequence-recorder.ts:149
void
stop(): void;
Defined in: hotkey-sequence-recorder.ts:279
void