Rezi
    Preparing search index...

    Type Alias KeyBinding<C>

    KeyBinding: Readonly<
        {
            description?: string;
            handler: (ctx: C) => void;
            priority: number;
            sequence: KeySequence;
            when?: (ctx: C) => boolean;
        },
    >

    A keybinding definition.

    Type Parameters

    • C

      Context type (usually KeyContext)