HotkeyManager.getHotkeys method
HotkeyManager › getHotkeys
Unofficial
Get hotkey associated with command ID.Signature:
getHotkeys(command: string): Hotkey[] | undefinedParameters:
| Parameter | Type | Description |
|---|---|---|
| command | string | {@link obsidian#Command} ID to get hotkey for. |
Returns: Hotkey[] | undefined — The custom hotkeys for the command, or undefined if it has none.