Defined in: hotkey-sequence-recorder.ts:104
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:118
HotkeySequenceRecorder
readonly store: Store<HotkeySequenceRecorderState>;Defined in: hotkey-sequence-recorder.ts:105
cancel(): void;Defined in: hotkey-sequence-recorder.ts:370
Stops, discards in-progress steps, and notifies onCancel.
void
commit(): void;Defined in: hotkey-sequence-recorder.ts:293
Commit the current steps as a sequence. No-op if fewer than one step.
void
destroy(): void;Defined in: hotkey-sequence-recorder.ts:402
void
setOptions(options): void;Defined in: hotkey-sequence-recorder.ts:127
Merges current callbacks and options without discarding recorded steps.
Partial<HotkeySequenceRecorderOptions>
void
start(): void;Defined in: hotkey-sequence-recorder.ts:174
Starts a fresh recording; repeated starts during an active session are ignored.
void
stop(): void;Defined in: hotkey-sequence-recorder.ts:354
Stops and discards in-progress steps without invoking onCancel.
void