Sequences
Sequences =
object
Defined in: sequences.ts:48
Methods
Section titled “Methods”destroy()
Section titled “destroy()”destroy():
void
Defined in: sequences.ts:58
Stops matching and removes every sequence.
Returns
Section titled “Returns”void
listen()
Section titled “listen()”listen(
sequence,handler,options?): () =>void
Defined in: sequences.ts:54
Runs handler when the steps of sequence are pressed one after another, e.g. 'G I',
'G Shift+P' or 'ArrowUp ArrowUp ArrowDown ArrowDown'. Each step is a shortcut (wildcards
included); steps are separated by spaces. Returns a function that removes the sequence.
Parameters
Section titled “Parameters”sequence
Section titled “sequence”string
handler
Section titled “handler”options?
Section titled “options?”Returns
Section titled “Returns”() => void
sequences()
Section titled “sequences()”sequences(
filter?):SequenceInfo[]
Defined in: sequences.ts:56
Registered sequences in registration order, e.g. to add them to a keyboard help screen.
Parameters
Section titled “Parameters”filter?
Section titled “filter?”active?
Section titled “active?”boolean
context?
Section titled “context?”string