# Keyboard Shortcuts

<TabSwitcher />

Pane is keyboard-first. Press <KeyCombo keys={["⌘", "⇧", "P"]} /> (**Open Search**) to find any action and see its key, if it has one. Actions that can't run right now show dimmed; hover one for the reason.

On Windows and Linux, ⌘ is Ctrl and ⌥ is Alt, except:

- Previous / next tab: Ctrl+PageUp / Ctrl+PageDown (⌘⇧[ / ⌘⇧] on macOS).
- Next / previous [machine](/docs/your-computers): Ctrl+Alt+Shift+] / [ (⌘⌃] / [ on macOS).
- Toggle the bottom terminal is Ctrl+\` everywhere, macOS included.

## Change your shortcuts

Open **Settings → Shortcuts** (<KeyCombo keys={["⌘", "K"]} />, then <KeyCombo keys={["⌘", "S"]} />). There you can:

1. Record, clear or reset any key under **Keyboard Shortcuts**, including two-step keys. Two actions active at the same time can't share a key.
2. Switch off **Enable Pane keyboard shortcuts**, so a terminal app or agent gets every key. **Keep Search shortcut enabled** keeps <KeyCombo keys={["⌘", "⇧", "P"]} />.
3. Turn the **Kitty keyboard protocol** on or off for programs that ask for precise key reporting.
4. Add [snippet keys](#terminal-shortcuts).

Keys Pane doesn't use go to the terminal program. Agent keys and slash commands are configured in the agent.

> **Note:** In a terminal, ⌘K clears the scrollback once you let go. Keep ⌘ held and press a second key (⌘K ⌘S) to run a two-step key instead. Windows and Linux use Ctrl+K.

## All shortcuts

<ShortcutGrid />

<Toggle title="Sidebar cycling follows where you clicked">
<KeyCombo keys={["⌘", "↑/↓"]} /> cycles through the sidebar section you entered from. Click a pane in **Pinned** and it moves through pinned panes. Click one in **Repositories** and it follows the repository list, including your project ordering and collapsed state.
</Toggle>

## @ Terminal Reference

Type `@` in any terminal to pull output from another terminal in the same pane, so your agents share context without copy-pasting between tabs.

A picker lists the other terminals. Keep typing to filter it; if nothing matches, it closes and the `@` stays as text. Then:

- <KeyCombo keys={["Tab"]} /> switches between **Raw**, which pastes the last N lines, and **Embed**, which saves them to a temp file and inserts its path (useful for large outputs).
- <KeyCombo keys={["←"]} /> <KeyCombo keys={["→"]} /> change the line count: 100, 300, 500 (default) or All.
- <KeyCombo keys={["Enter"]} /> inserts it.

## Terminal Shortcuts

Press <KeyCombo keys={["⌘", "⌥", "letter"]} /> to paste saved text into the active terminal: prompt templates, review instructions, debug commands, one keystroke. It doesn't press Enter.

For example, bind <KeyCombo keys={["⌘", "⌥", "T"]} /> to paste *"Think hard. Is this really the root cause or is this a symptom?"* into any agent session.

Configure in **Settings → Shortcuts → Terminal snippets**. Each snippet has a label, a key and its text. Hold <KeyCombo keys={["⌘", "⌥"]} /> to see them all as an overlay.
