addHotkeySequence
addHotkeySequence<
T>(map,sequence,command,options): () =>void
Defined in: extensions/commands/utils.ts:197
Registers a sequential hotkey to the specifed hotkey map.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”HotkeyMap<T>
Map to add the sequence to.
sequence
Section titled “sequence”string[]
Sequence of keys to press for the command to be executed.
command
Section titled “command”Hotkey<T>
Command to execute when the sequence is pressed.
options
Section titled “options”Returns
Section titled “Returns”Function to remove the hotkey.
():
void
Returns
Section titled “Returns”void