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:131
Options may be a getter to read current configuration during an active session.
| HotkeySequenceRecorderOptions | (() => HotkeySequenceRecorderOptions)
HotkeySequenceRecorder
readonly store: Store<HotkeySequenceRecorderState>;Defined in: hotkey-sequence-recorder.ts:105
cancel(): void;Defined in: hotkey-sequence-recorder.ts:379
Stops, discards in-progress steps, and notifies onCancel.
void
commit(): void;Defined in: hotkey-sequence-recorder.ts:302
Commit the current steps as a sequence. No-op if fewer than one step.
void
destroy(): void;Defined in: hotkey-sequence-recorder.ts:411
void
setOptions(options): void;Defined in: hotkey-sequence-recorder.ts:140
Merges current callbacks and options without discarding recorded steps.
Partial<HotkeySequenceRecorderOptions>
void
start(): void;Defined in: hotkey-sequence-recorder.ts:183
Starts a fresh recording; repeated starts during an active session are ignored.
void
stop(): void;Defined in: hotkey-sequence-recorder.ts:363
Stops and discards in-progress steps without invoking onCancel.
void