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
| Name | Type | Required | Description |
|---|---|---|---|
defaults | ShortcutDefinition[] | no | Default shortcut(s) - up to 3 |
allowDefault | boolean | no | If true, don’t call preventDefault() after handling |
priority | number | no | Priority for conflict resolution (higher = checked first) |