HotkeyManager.addDefaultHotkeys method
HotkeyManager › addDefaultHotkeys
Unofficial
Add a hotkey to the default hotkeys.Signature:
addDefaultHotkeys(command: string, keys: KeymapInfo[]): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| command | string | {@link obsidian#Command} ID to add hotkey to. |
| keys | KeymapInfo[] | Hotkeys to add. |
Returns: void