ShortcutRegisterOptions
Defined in: namespaces.ts:819
Options for shortcuts.register().
Properties
Section titled “Properties”commandId
Section titled “commandId”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”).
optionalwhen?:string
Defined in: namespaces.ts:825
Optional context condition string.