Skip to content

HotkeyManager.customKeys

HotkeyManager › customKeys

Unofficial

Type: HotkeyManagerCustomKeysRecord

Custom (non-Obsidian default) hotkeys, one to many mapping of command ID to assigned hotkey.

A getter returning a shallow copy of the stored record, so a key written on it is not persisted. Use HotkeyManager.setHotkeys and HotkeyManager.removeHotkeys instead.