---
title: Leader layer
description: A space-bar mode for launching apps, opening links, and running commands.
---

A leader key opens a layer of one-key commands. Here <kbd>space</kbd> enters a
Leader mode, and the next key picks the action.

## The layer

The Triggers group, which is always on, binds <kbd>space</kbd> to **Activate
layer** → Leader. Leader is a mode, so its keys stay live until <kbd>esc</kbd>.

| Key | Action |
| --- | --- |
| <kbd>b</kbd> | Open app: Chrome |
| <kbd>m</kbd> | Open app: Spotify |
| <kbd>g</kbd> | Open URL: github.com |
| <kbd>t</kbd> | Run command: `open -a Terminal`, labelled Terminal |
| <kbd>e</kbd> | Type text: an email address |
| <kbd>u</kbd> | Sticky modifier: ⇧, toggled |

![The Leader layer's fifteen bindings](/blume-assets/content/assets/screenshots/layer-leader.png)

Give a binding a label and icon, as <kbd>t</kbd> has, and the editor and HUD show
those instead of the command.

## Raycast commands

With the Raycast plugin on, choose **Raycast command** under Plugins in the action
picker and search your extensions and script commands. Importing a config turns
its `open "raycast://…"` commands into the same actions. See
[Plugins](/docs/integrations/plugins#raycast).

## In karabiner.ts

Upstream, a leader is a variable: one key sets it, and a rule gated on it maps
the next keys. In Vimputer the mode owns that variable, so there's no condition to
write.
