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: any

        Key name for the trigger hotkey (e.g. "/")

      Returns any

      A hotkey object