# Keys

> The terminal UI's keys, as its Keys and help sheet lists them.

{/* Generated from the keys sheet in cmd/zelk/internal/tui/app (TestReferenceKeys). Don't edit: change the code, then run make reference. */}

These are the terminal UI's keys with the default bindings, as its **Keys and help** sheet shows them. Change them in a [keybindings file](/reference/keybindings/).

## Prompt

| Key | Does |
|---|---|
| `/` | commands, skills and tools (on an empty prompt) |
| `@` | attach a file: pick one as you type its name |
| `!` | shell mode: run a command, and zelk answers its output; tab completes a path, → an earlier command; esc leaves it |
| `ctrl+v` | paste an image, or drop an image file (alt+v too) |
| `enter` | send |
| `shift+enter` | a new line (ctrl+j, alt+enter too) |
| `↑ ↓` | earlier messages, cleared drafts included |
| `ctrl+r` | search earlier prompts; ctrl+s changes the scope |
| `ctrl+s` | stash the draft; on an empty prompt, bring it back |

## While zelk works

| Key | Does |
|---|---|
| `enter` | steer the run with what you typed |
| `ctrl+enter` | send the queue now; running work moves to the background (ctrl+x ctrl+s too) |
| `ctrl+b` | move running commands and subagents to the background (ctrl+x ctrl+b too) |
| `↓` | on an empty prompt: the background work, while some runs |
| `esc` | interrupt the run |

## Transcript

| Key | Does |
|---|---|
| `ctrl+o` | expand tool output and thinking |
| `tab` | focus the transcript; arrows select a block; esc returns |
| `enter / c / f` | on a block: expand, copy, ask zelk to fix a failure |
| `ctrl+t` | show or hide the task list |
| `pgup / pgdown` | scroll (the wheel too) |
| `ctrl+home / ctrl+end` | the start, follow new output |

## App

| Key | Does |
|---|---|
| `shift+tab` | cycle the permission mode |
| `ctrl+c twice` | quit (ctrl+d twice too, on an empty prompt) |
