Skip to content

ShortcutRegisterOptions

Defined in: namespaces.ts:820

Options for shortcuts.register().

commandId: string

Defined in: namespaces.ts:822

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


keys: string

Defined in: namespaces.ts:824

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


optional when?: string

Defined in: namespaces.ts:826

Optional context condition string.