HotkeyManager.getDefaultHotkeys method
HotkeyManager › getDefaultHotkeys
Unofficial
Get hotkey associated with command ID.Signature:
getDefaultHotkeys(command: string): KeymapInfo[]Parameters:
| Parameter | Type | Description |
|---|---|---|
| command | string | {@link obsidian#Command} ID to get hotkey for. |
Returns: KeymapInfo[] — The default hotkeys for the command.