Returns the raw list of hotkey configs loaded from config.json. Useful for the help modal or any UI that needs to enumerate the bindings.
config.json
Array of hotkey configs, in declaration order.
const hotkeys = getHotkeyConfigs();hotkeys.forEach((h) => console.log(h.id, h.description)); Copy
const hotkeys = getHotkeyConfigs();hotkeys.forEach((h) => console.log(h.id, h.description));
export function getHotkeyConfigs(): HotkeyConfig[] { return hotkeysConfig as HotkeyConfig[];} Copy
export function getHotkeyConfigs(): HotkeyConfig[] { return hotkeysConfig as HotkeyConfig[];}
Returns the raw list of hotkey configs loaded from
config.json. Useful for the help modal or any UI that needs to enumerate the bindings.