Overview
SuperCmd supports global keyboard shortcuts for:- Global launcher hotkey — Open SuperCmd from anywhere
- Per-command hotkeys — Launch specific commands directly
- Hyper Key — Remap a modifier key to Cmd+Ctrl+Option+Shift
- In-app shortcuts — Navigate within SuperCmd
All hotkeys work system-wide when SuperCmd is running in the background.
Global Launcher Hotkey
The primary shortcut to open SuperCmd. Default:Alt+Space (Option+Space)
Configure:
- Open SuperCmd
- Search for “Settings”
- Navigate to General → Global Shortcut
- Click the field and press your desired key combination
| Shortcut | Notes |
|---|---|
Command+Space | Requires disabling Spotlight in System Settings |
Option+Space | Default (Alt+Space) |
Control+Space | May conflict with input source switching |
Command+Shift+Space | Good alternative if Spotlight is enabled |
Fn+Space | Uses the Function key (requires Input Monitoring) |
globalShortcut.register() API, which requires Input Monitoring permission.
Source: src/main/main.ts:186-205
Per-Command Hotkeys
Assign global shortcuts to launch specific commands instantly, bypassing the launcher UI.Setting Up Command Hotkeys
Via Settings UI:
Via settings.json:
Command ID Format
- Built-in commands:
supercmd-{feature}- Example:
supercmd-clipboard-history
- Example:
- Extension commands:
{extension-name}#{command-name}- Example:
github#search-repositories
- Example:
- Script commands:
script:{filename}- Example:
script:toggle-wifi.sh
- Example:
Finding Command IDs
- Enable debug mode in Settings
- Open DevTools (Cmd+Option+I)
- Run a command
- Check console logs for the command ID
~/Library/Application Support/SuperCmd/settings.json → recentCommands array.
Hyper Key
SuperCmd includes a built-in Hyper Key feature that remaps a physical key to act asCmd+Ctrl+Option+Shift simultaneously.
Use Cases
- Remap Caps Lock to Hyper
- Remap Right Option to Hyper
- Create super-powerful shortcuts without finger gymnastics
Setup
Choose source key
Common choices:
- Caps Lock (keycode 57)
- Right Option (keycode 61)
- Right Command (keycode 54)
Hyper Key Settings
Keycode of the physical key to remap
Include Shift in the Hyper combination (Cmd+Ctrl+Option+Shift)
Action when Hyper Key is tapped (not held):
escape— Send Escape keytoggle-caps-lock— Toggle Caps Locknone— Do nothing
Show shortcut badges as “⌘Hyper” instead of ”⌘⌥⌃⇧“
How It Works
SuperCmd monitors keyboard events usingCGEventTapCreate() and:
- Intercepts the source key press
- Suppresses the original key event
- Injects Cmd+Ctrl+Option (+ Shift if enabled)
- On release, removes all modifiers
- On quick tap, sends the quick-press action
src/native/hotkey-hold-monitor.swift, src/main/main.ts (hyper-key IPC handlers)
In-App Shortcuts
Keyboard shortcuts within SuperCmd:Global Navigation
| Shortcut | Action |
|---|---|
Cmd+K | Open Actions panel |
Cmd+, | Open Settings |
Cmd+Shift+P | Command palette (extensions) |
Escape | Close window / go back |
Cmd+W | Close window |
Search & Filtering
| Shortcut | Action |
|---|---|
↑ / ↓ | Navigate results |
Enter | Execute selected command |
Cmd+Enter | Execute with modifiers |
Tab | Autocomplete (if available) |
Cmd+Backspace | Clear search |
List & Grid Views
| Shortcut | Action |
|---|---|
Cmd+↓ | Show detail panel |
Cmd+Y | Quick Look (if supported) |
Cmd+C | Copy selected item |
Cmd+D | Toggle detail sidebar |
Form Views
| Shortcut | Action |
|---|---|
Tab / Shift+Tab | Navigate fields |
Enter | Submit form |
Cmd+Enter | Submit with metadata |
Extension Shortcuts
Extensions can define custom shortcuts using theKeyboard.Shortcut type:
cmd— Commandctrl— Controlopt/alt— Optionshift— Shift
Shortcut Format
SuperCmd uses Electron’s accelerator syntax:Command+Shift+VControl+Option+WAlt+SpaceCmd+K
Command/Cmd/⌘Control/Ctrl/⌃Option/Alt/⌥Shift/⇧
Space,Tab,Enter,EscapeUp,Down,Left,RightF1–F24A–Z,0–9
Conflict Detection
SuperCmd does not automatically detect conflicts with system shortcuts or other apps. Common conflicts:| Shortcut | System Use |
|---|---|
Command+Space | Spotlight |
Control+Space | Input source switching |
Command+Tab | App switcher |
Command+Option+D | Show/hide Dock |
Troubleshooting
Global hotkey doesn't work
Global hotkey doesn't work
- Ensure Input Monitoring permission is granted
- Check for conflicts with other apps (BetterTouchTool, Alfred, Keyboard Maestro)
- Try a different key combination
- Restart SuperCmd
- Check console logs for registration errors
Command hotkey doesn't trigger
Command hotkey doesn't trigger
- Verify the command ID is correct in
settings.json - Ensure the extension is enabled
- Check for conflicts with system shortcuts
- Try unregistering and re-registering the hotkey
Hyper Key doesn't work
Hyper Key doesn't work
- Grant Accessibility permission
- Grant Input Monitoring permission
- Restart SuperCmd after granting permissions
- Check
hyperKeySourcekeycode is correct - Test with debug mode enabled (Cmd+Option+I)
Shortcuts work inconsistently
Shortcuts work inconsistently
This can happen if:
- Another app is capturing the same shortcut
- macOS Secure Input is enabled (check with Karabiner-Elements EventViewer)
- The app is running in the background but not receiving events
Can't use Function keys (F1-F12)
Can't use Function keys (F1-F12)
macOS reserves F1-F12 for system functions by default:
- Go to System Settings → Keyboard
- Enable Use F1, F2, etc. keys as standard function keys
- Or use
Fn+F1in shortcuts
Next Steps
Settings
All configuration options
Permissions
Required macOS permissions
Extensions
Install and manage extensions
Window Management
Use window tiling hotkeys