Skip to content

ShortcutRegisterOptions

Defined in: namespaces.ts:819

Options for shortcuts.register().

commandId: string

Defined in: namespaces.ts:821

The command ID to bind the shortcut to (own-namespace only).


keys: string

Defined in: namespaces.ts:823

Key combination string (e.g., “cmd+t”, “cmd+shift+n”).


optional when?: string

Defined in: namespaces.ts:825

Optional context condition string.