interface KeyBinding {
    action: KeyAction;
    combo: string;
    group: string;
    hidden: boolean;
    id: number;
    inText: boolean;
    label: string;
    layered: boolean;
    scope: KeyScope;
    when?: () => boolean;
}

Properties

action: KeyAction
combo: string

Canonical chord, see parseKeyCombo.

group: string
hidden: boolean
id: number
inText: boolean
label: string
layered: boolean

Shares its chord deliberately; see KeyBindingOptions.layered.

scope: KeyScope
when?: () => boolean