Skip to Content
Spiti

Set global shortcuts and the Hyper key

Change the shortcuts that work from any app, fix conflicts, and turn Caps Lock into a Hyper key.

Change a global shortcut

Global shortcuts work from any app while Spiti.app runs, even with its windows closed. Open Settings → Keyboard shortcuts to see them all:

  • Spiti: Open command center, ⌥Space by default.
  • Island: Expand the Island, with no shortcut until you record one.
  • Window management: every window position, while Window management is on.
  • Plugins: each plugin's shortcuts, under its name.

To change one, click its recorder, which shows Press keys…, and press the new combination. A combination needs ⌘, ⌃ or ⌥, or a function key from F1 to F20. ⇧ alone isn't enough. Press Escape to cancel, or Delete to remove the shortcut. While you record, Spiti's shortcuts are paused, so pressing one records it instead of running it.

Changes take effect at once. Choose Reset to defaults to restore every shortcut, and Undo in the message that follows to change your mind.

Fix a conflict

Spiti never reassigns a shortcut for you. When a combination is taken, the row tells you why:

  • Conflict: another Spiti shortcut has it, named under the row. Spiti's own shortcuts win, then plugins in the order you installed them.
  • In use by another app: another app, such as Raycast, holds it.
  • Also used by macOS: it still works, but macOS uses it too.

Record another combination or remove one of the two. A combination macOS reserves, such as ✦. (which runs a system diagnostic), can't be recorded.

A plugin shortcut shows Grant… instead of a recorder until you grant the plugin Global shortcuts. A plugin can also offer its shortcuts on its settings page in the command center.

Turn on the Hyper key

The Hyper key turns one key into ⌃⌥⇧⌘ held together, so you get shortcuts no app uses. Hyper shortcuts are shown with ✦: ✦S means ⌃⌥⇧⌘S.

  1. In Settings → Keyboard shortcuts, open the Hyper key card.
  2. Choose Caps Lock (⇪), Right ⌘, Right ⌥ or Right ⌃.
  3. Choose Allow… and give Spiti Accessibility and Input Monitoring. Relaunch Spiti when it asks. See Give Spiti macOS access.

A green dot labelled Active means it works. An amber Needs attention dot means macOS access is missing.

With Caps Lock, Quick press decides what a tap on its own does: Toggle Caps Lock, Escape or Nothing. A tap is a press shorter than 200 ms with no other key in between.

The remapping lasts only while Spiti runs. Quitting Spiti or choosing None gives the key back. If Spiti quits unexpectedly, it clears the old mapping the next time it opens. spiti doctor reports a mapping left behind while Spiti.app isn't running.

Shortcuts with ✦ also work without the Hyper key: hold ⌃⌥⇧⌘ and press the key. Settings reminds you with "Hold ⌃⌥⇧⌘, or turn on the Hyper key".

For plugin authors

Declare shortcuts in spiti.json under shortcuts, each with an id, a label, an optional default and what it runs, and add the shortcuts permission with a reason.

"shortcuts": [
  { "id": "openQuick", "label": "Open quick window", "default": "Hyper+S", "run": { "floating": "quick" } },
  { "id": "addOne", "label": "Add 1 to the counter", "run": { "action": "increment" } }
]

run is an action with optional fixed input, a floating window, or { "commandCenter": true }. Use "page" or "settings" instead of true to open the plugin's own page or settings there. Defaults use Electron's accelerator syntax plus Hyper. A shortcut without a default does nothing until the user records one. In views, useShortcut(id) from @spiti/sdk/ui reads and rebinds the plugin's own shortcuts.

On this page