How to Set Up a Hyper Key on Mac

Turn Caps Lock into a Hyper Key on Mac and get a whole layer of shortcuts that never clash with your apps. How to do it with Raycast in a minute, or with Karabiner-Elements.

UPDATED

You want a global shortcut for your terminal, your notes and your window layouts, but every combination you try is already taken by some app.

The short answer: turn Caps Lock into a Hyper Key. It presses ⌃ ⌥ ⌘ (or all four modifiers) at once, a combination almost no app uses, so every shortcut you put on it is yours. In Raycast, open Settings → Keyboard → Hyper Key and pick Caps Lock. It's built in and free, with no keyboard driver to install.

MethodSetupTap Caps Lock for EscapeNeeds a driver
Raycast Hyper KeyOne settingYesNo
Karabiner-ElementsA rule fileYesYes
macOS Modifier KeysOne settingNo, one modifier onlyNo

Set up a Hyper Key with Raycast

Hyper Key is built into Raycast.

  1. Open Raycast and press ⌘ , for Settings.
  2. Go to Keyboard → Hyper Key.
  3. Pick the key: Caps Lock, a left or right modifier like Right Command, or a function key from F1 to F12.
  4. Record hotkeys for your favorite commands with the new key. Raycast shows them with the ✦ glyph.
Hyper Key hotkeys show up in Raycast with the ✦ glyph, so they never clash with an app's shortcuts.
Hyper Key hotkeys show up in Raycast with the ✦ glyph, so they never clash with an app's shortcuts.

By default the Hyper Key presses ⌃ ⌥ ⌘. Turn on Include Shift if you want the classic four-modifier Hyper, ⌃ ⌥ ⇧ ⌘, for example to match shortcuts you set up in other tools.

Pro tip: set Quick Press to Trigger Escape. A quick tap on Caps Lock then sends Escape, and holding it works as the Hyper Key. Vim users, this one's for you.

Ideas for your new layer:

  • ✦ T for your terminal, ✦ B for your browser, ✦ S for Slack. In Raycast, any app can have a hotkey.
  • ✦ ← and ✦ → for Window Management halves.
  • ✦ V for Clipboard History and ✦ Space for AI Chat.

A few things worth knowing:

  • Password fields. macOS Secure Input, which turns on in password fields, blocks remapped keys. Turn on Secure Input Compatibility in Settings → Keyboard to keep Raycast's Hyper Key shortcuts working there. While it's on, Right Control is reserved for the Hyper Key.
  • If it doesn't fire, check that no other tool is remapping the same key, like Karabiner-Elements. Also check that System Settings → Keyboard → Keyboard Shortcuts → Modifier Keys still has Caps Lock set to Caps Lock. The Hyper Key Diagnostic panel in Raycast's Keyboard settings flags both.
  • Several keyboards. The Hyper Key works on each connected keyboard.

Hyper Key works on Windows too, where it sends Win Ctrl Alt.

Hotkeys work on almost any Raycast command. This three-minute video shows how to set them up:

Use Karabiner-Elements

Karabiner-Elements is a free, open-source keyboard customizer. It has been the classic way to build a Hyper Key on Mac.

  1. Install Karabiner-Elements and grant the permissions it asks for, including its driver extension.
  2. Open Complex Modifications → Add predefined rule, and import a "Caps Lock to Hyper" rule from the online gallery.
  3. Enable the rule.

It's more work to set up, but Karabiner can do far more than a Hyper Key, such as per-app remaps and layers. Don't map the same key in both Karabiner and Raycast.

Remap Caps Lock in macOS

macOS can't make a Hyper Key on its own, but it can turn Caps Lock into a single modifier:

  1. Open System Settings → Keyboard → Keyboard Shortcuts → Modifier Keys.
  2. Set Caps Lock to Control, Option, Command or Escape.

That's useful (Caps Lock as Control is a favorite of Emacs users), but you're still sharing that modifier with every app's shortcuts.

New to Raycast?

Here's a quick tour of what else it can do, in under seven minutes:

Frequently Asked Questions

What is a Hyper Key on Mac?

A Hyper Key is a single key, usually Caps Lock, remapped to press several modifiers at once, such as ⌃ ⌥ ⌘ or ⌃ ⌥ ⇧ ⌘. Almost no app uses that combination, so every shortcut you build on it is free of conflicts.

Does macOS have a built-in Hyper Key?

No. System Settings can remap Caps Lock to a single modifier like Control or Escape, but not to several at once. You need a tool like Raycast or Karabiner-Elements.

Can I still use Caps Lock after making it a Hyper Key?

With Raycast, set Quick Press to Trigger: a quick tap sends a real Caps Lock, and holding it works as the Hyper Key. You can also make a tap send Escape instead.

Why does my Hyper Key stop working in password fields?

Password fields turn on macOS Secure Input, which blocks remapped keys. In Raycast, turn on Secure Input Compatibility in Settings → Keyboard to keep Hyper Key shortcuts working. It reserves Right Control while it's on.

Do I need Karabiner-Elements for a Hyper Key?

Not anymore. Raycast's Hyper Key does it without a keyboard driver. Karabiner-Elements is still the tool for complex remapping beyond a Hyper Key. Don't run both on the same key.

Turn Caps Lock into a Hyper Key without a keyboard driver. Try Raycast for free.

Download