ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Function getHotkeyConfigs

    • 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.

      Returns HotkeyConfig[]

      Array of hotkey configs, in declaration order.

      const hotkeys = getHotkeyConfigs();
      hotkeys.forEach((h) => console.log(h.id, h.description));
      export function getHotkeyConfigs(): HotkeyConfig[] {
      return hotkeysConfig as HotkeyConfig[];
      }