Keyboard shortcuts
Every Corral shortcut, grouped by where you use it. ctrl+b space shows the same list, searchable and with your own keys if you changed any.
How ctrl+b shortcuts work
The shortcuts that work in any pane go through herdr, so they start with its prefix, ctrl+b: press it, let go, then press the next key. They only do something when you use them. If you changed herdr's prefix, Corral's shortcuts use yours.
The palette
ctrl+b space, from any pane, opens Corral's palette: every shortcut and action in one list, grouped by where it works (layouts, any pane, the script editor, the R console, the variables pane, tables and Mirador). Type a few letters to narrow it down, and press Enter to run an action.
⌕ table▏ 23 of 66 ──────────────────────────────────────────────────────────────────────────────────────────────────── IN ANY PANE (HERDR) ▸ Open Mirador (plots and tables in the browser) ↵ ctrl+b shift+m VARIABLES PANE Open: a table in the viewer, a plot in Mirador, a value with str() enter Open the table in Mirador, in the browser m TABLES (VIEW) Move through the rows ↑ ↓ pgup pgdn g G Move through the columns (also the sideways wheel) ← → 0 $ Sort by the column s Search for a text in every column / Filter with a condition, in R or in SQL f Keep only the rows with the cell's value = Clear the filters and the search x Show the whole row enter Summary of each column i Open the table in Mirador, in the browser m ↑↓ select · Enter run · Esc close · type to search
Using it
| Key | Action |
|---|---|
| Type | Search names and keys at once: plot, theme, python, ctrl+r. Accents don't matter. The counter says how many entries match. |
| ↑ ↓, PgUp PgDn, Home End | Move through the list (the mouse wheel too) |
| Enter | Run the selected entry when it's an action: a ↵ next to it says so. The other entries are keys that work in their own place (the editor, a table), listed so you can find them. |
| Backspace | Delete a letter of the search |
| Esc | Clear the search; with nothing typed, close the palette |
The list is read from your configuration every time it opens, so it shows your own keys after you change them, and actions that have no key yet, like the themes or the language, are one search away. It follows Corral's language too (see Language).
The same list is in the editor (Ctrl+P, then "Corral: keyboard shortcuts") and in any herdr terminal with corral keys. Mirador has its own short list of keys behind ?.
In any pane (herdr)
| Shortcut | Action |
|---|---|
| ctrl+b space | The palette of Corral's shortcuts and actions |
| ctrl+b a | Layout focused on the agent: Claude on the left, the script over the console on the right |
| ctrl+b shift+a | Layout focused on the code: the script on the left, Claude over the console on the right |
| ctrl+b shift+c | Close Corral: closes the script, the console and the variables, and leaves Claude as a normal pane |
| ctrl+b t | Expand the script or the console (the pane you are in; Claude or the console in the layout focused on the code); again, both |
| ctrl+b y | The console switches from R to Python, or from Python to R (Python starts the first time) |
| ctrl+b enter | Send the selection or the clipboard to the console in view (R or Python) |
| ctrl+b f | See the latest plot in Mirador |
| ctrl+b d | See the variables over the terminal |
| ctrl+b m | Use this pane as the console (R or IPython, by what runs in it) and switch Corral on in it |
| ctrl+b shift+m | Open Mirador |
| ctrl+b ? | All of herdr's own shortcuts (panes, tabs, workspaces) |
The palette also has actions with no key: add the script editor over the console, switch to the Dark 2026 theme, and go back to herdr's theme.
Script editor
The editor, Fresh, uses VS Code's shortcuts. Corral adds the ones below. Some terminals drop keys on their way through herdr (see below), so each action has a key that always arrives and, under "Also", the key you may know from other IDEs, for terminals that send it.
| Shortcut | Also | Action |
|---|---|---|
| Ctrl+R | Ctrl+Enter, Alt+Enter | Run the selection or, without one, the whole statement under the cursor (including |> or + chains over several lines), and move to the next one |
| F5 | Ctrl+Shift+Enter | Run the whole file (source(echo = TRUE) in R, %run -i in Python) |
| Ctrl+L | Alt+- | Insert <- |
| Ctrl+U | Ctrl+Shift+M | Insert |> |
| Ctrl+/ | Ctrl+Shift+C | Comment or uncomment |
| Ctrl+Space | Completion (it also appears on its own while you type) | |
| Ctrl+S | Save and format (Air in R, Ruff in Python); in the draft, it asks where to save it | |
| Ctrl+P | The editor's command palette (all its actions) | |
| Ctrl+F | Find in the file | |
| Ctrl+Z | Undo | |
| Ctrl+Q | Close the editor (the draft is discarded) |
Ctrl+L and Ctrl+U do nothing in a .py file.
R console (Ark)
These are the keys of Corral's console for Ark, the default R console. Plain R and IPython keep their own line editing.
| Shortcut | Action |
|---|---|
| Enter | Run, if the expression is complete; if not, a new indented line |
| Alt+Enter | Run even if something is still open |
| ↑ ↓ | History (with something typed, only the entries that start the same) |
| Tab | Complete names, arguments and columns |
| Ctrl+C | Interrupt what is running, or clear what you typed |
| Ctrl+D | Close the console (on an empty line) |
| Ctrl+L | Clear the screen |
| Ctrl+A, Ctrl+E | Go to the start or the end of the line |
| Ctrl+K, Ctrl+U, Ctrl+W | Delete to the end of the line, to its start, or the previous word |
Variables pane
| Shortcut | Action |
|---|---|
| ← →, Tab, 1–5 | Change tab: Data, Plots, Values, Functions, Other. A click works too. |
| ↑ ↓, PgUp PgDn | Move |
| Enter | Open: a table in the viewer, a plot in Mirador, any other value with str() |
| m | Open a table in Mirador, in your browser |
| / | Search (the arrows choose among the results) |
| q | Close the window (ctrl+b d) |
Tables
The table viewer that View() opens.
| Shortcut | Action |
|---|---|
| ↑ ↓, PgUp PgDn, g G | Move through the rows (the mouse wheel too) |
| ← →, 0 $ | Move through the columns; with the mouse, the horizontal wheel, a sideways swipe on the trackpad, or Shift and the wheel |
| s (or a click on the header) | Sort by the column: ascending, descending, unsorted |
| / | Search a text in every column; / and an empty Enter clear the search |
| f | Filter with a condition, in R or in SQL |
| = | Keep only the rows with the value of the selected cell |
| x | Remove every filter and the search |
| Enter | See the whole row |
| i | Summary of each column |
| m | Open the table in Mirador, in your browser; the viewer stays open |
| q | Close |
Mirador
| Shortcut | Action |
|---|---|
| ← → | Previous or next plot |
| c | Copy the plot as a PNG image |
| In a table, the same keys as the terminal's table viewer: | |
| ↑ ↓, PgUp PgDn, g G | Move through the rows |
| ← →, 0 $ | Move through the columns |
| s (or a click on the header) | Sort by the column: ascending, descending, unsorted |
| / | Search a text in every column |
| f | Filter with a condition, in R or in SQL |
| = | Keep only the rows with the value of the selected cell |
| x | Remove every filter and the search |
| Enter (or a double click) | See the whole row |
| i | Summary of each column |
| ? | See these shortcuts |
Plots inside herdr
On terminals that draw images, ctrl+b f shows plots inside herdr instead (see Plots and Mirador). That viewer has three keys: ← → go through the history, o opens Mirador in the browser, and q closes it.
Change a shortcut
$ corral keys --list
$ corral keys --change herdr:toggle shift+e
$ corral keys --change editor:corral_run_line ctrl+e
corral keys opens the palette. --list prints it, with the ID of each shortcut, and --json gives the same list to agents. --change ID KEY gives an action a new key:
herdr:IDs are the shortcuts that work in any pane. The key is what comes after ctrl+b (t,shift+k,space) or the whole shortcut ("ctrl+b t"). herdr takes the change at once.editor:IDs are the editor's. The key is the whole shortcut (ctrl+e,f6,ctrl+shift+enter). Close the editor with Ctrl+Q and open it again to use it.- The keys of the console, the variables pane, the tables and Mirador are part of Corral and can't be changed this way.
It refuses keys herdr already uses (ctrl+b ? lists them) and keys another shortcut has, unless you add --force, which takes the key from the other shortcut. Claude can read and change your shortcuts if you ask it.
Terminals that drop keys
From Warp, through herdr, only Ctrl plus a letter and the function keys reach the editor intact: Ctrl+Enter arrives as Enter, and shortcuts with Ctrl+Shift or Alt are cut. That is why Corral's main keys are Ctrl+R, F5, Ctrl+L and Ctrl+U.