Behind the app · Jul 12, 2026
2 min read · Trevor Edwards

One search field, two modes: designing Space-to-switch

HyperKey needed both app search and file search without turning into two separate tools. The answer was a single keystroke, not a second hotkey.

The obvious way to add file search to an app launcher is a second hotkey, or a toggle buried in a settings screen. Both work. Both also add a decision to make before you can start typing, and the whole point of a launcher is to remove decisions, not add them.

Space was already free

So HyperKey uses the field you are already typing in. Open the panel, and it starts in app search. Press Space on an empty query, and it switches straight into file search - Backspace on an empty query switches back. No modal, no second launch, no menu.

  • A visual mode indicator always shows which mode you are in, so the switch is never ambiguous.
  • The interaction is discoverable the same way Alfred and Spotlight users already expect it to work.
  • It costs zero extra hotkeys to remember, because it reuses the one you already pressed.

Constraints are a feature

A single search field forces a kind of discipline: every mode has to earn its place in the same tiny surface. That constraint is what keeps the panel feeling like one coherent tool instead of two apps stapled together.