Skip to content

ShortcutsAPI

Defined in: namespaces.ts:842

register(options): Promise<string>

Defined in: namespaces.ts:844

Registers a keyboard shortcut binding for an existing command.

ShortcutRegisterOptions

Promise<string>


unregister(shortcutId): Promise<void>

Defined in: namespaces.ts:846

Removes a shortcut binding by its shortcutId.

string

Promise<void>


getAll(): Promise<ShortcutInfo[]>

Defined in: namespaces.ts:848

Returns all shortcuts registered by the calling plugin.

Promise<ShortcutInfo[]>