hammerspoon2-docs
    Preparing search index...

    Function showHotkeys

    • Create and enable a hotkey that, while held down, displays a list of all currently enabled hotkeys (and their messages, if any) as an on-screen toast.

      Parameters

      • mods: any

        Modifier keys for the trigger hotkey (e.g. ["cmd", "shift"])

      • key: string | number

        Key name or numeric key code for the trigger hotkey (e.g. "/")

      Returns any

      A hotkey object