Skip to content

ShortcutsAPI

Defined in: namespaces.ts:843

register(options): Promise<string>

Defined in: namespaces.ts:845

Registers a keyboard shortcut binding for an existing command.

ShortcutRegisterOptions

Promise<string>


unregister(shortcutId): Promise<void>

Defined in: namespaces.ts:847

Removes a shortcut binding by its shortcutId.

string

Promise<void>


getAll(): Promise<ShortcutInfo[]>

Defined in: namespaces.ts:849

Returns all shortcuts registered by the calling plugin.

Promise<ShortcutInfo[]>