Phials plugin documentation
User guide
AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0

CommandShortcut

Since Plugin API: 1.0.0

Keyboard shortcut configuration for a command.

Signature

interface CommandShortcut {
    defaults?: ShortcutDefinition[];
    allowDefault?: boolean;
    priority?: number;
}

Members

NameTypeRequiredDescription
defaultsShortcutDefinition[]noDefault shortcut(s) - up to 3
allowDefaultbooleannoIf true, don’t call preventDefault() after handling
prioritynumbernoPriority for conflict resolution (higher = checked first)