Herdr Shortcuts Cheatsheet
Keyboard shortcuts for running multiple AI coding agents in Herdr, using workspaces for clients, tabs for tasks and panes for splitting a task up.
Herdr is a terminal workspace manager for AI coding agents. It shows which agents are working, blocked or done, and keeps them running when you close the terminal.
This is the workflow and the shortcuts needed to manage agents with it.
The workflow
| Herdr thing | Use it for | Example |
|---|---|---|
| Workspace | One client or project | Classic Arch, CWA, Asialink |
| Tab | One task | Fix mega menu, Plugin updates |
| Pane | A separate panel inside a task | Agent on the left, dev server on the right, logs below |
The sidebar rolls up agent status per workspace. You can see which client has an agent waiting on you without opening it.
The prefix key
Most shortcuts start with the prefix: ctrl+b.
Press ctrl+b, release it, then press the next key. In this post that is written as prefix+c.
The prefix exists so Herdr doesn’t steal keys from the agent running in the pane.
Press prefix+? at any time to list every active shortcut.
Learn these first
| Action | Shortcut |
|---|---|
| New tab | prefix+c |
| Split right | prefix+v |
| Split down | prefix+- |
| Move between panes | prefix+h/j/k/l |
| Workspaces | prefix+w |
| Detach (agents keep running) | prefix+q |
Workspaces (clients)
| Action | Shortcut |
|---|---|
| New workspace | prefix+shift+n |
| Workspace navigation | prefix+w |
| Rename workspace | prefix+shift+w |
| Close workspace | prefix+shift+d |
| Goto picker (every agent and terminal, grouped by workspace) | prefix+g |
| Show / hide sidebar | prefix+b |
| Jump to the agent that needs you | prefix+o |
Tabs (tasks)
| Action | Shortcut |
|---|---|
| New tab | prefix+c |
| Next tab | prefix+n |
| Previous tab | prefix+p |
| Jump to tab 1 to 9 | prefix+1 … prefix+9 |
| Rename tab | prefix+shift+t |
| Close tab | prefix+shift+x |
Rename each tab to the task name, or the Asana task, so you can find it later.
Panes (splitting up a task)
| Action | Shortcut |
|---|---|
| Split right (side by side) | prefix+v |
| Split down (stacked) | prefix+- |
| Focus pane left / down / up / right | prefix+h / j / k / l |
| Cycle to next / previous pane | prefix+tab / prefix+shift+tab |
| Zoom the focused pane (toggle) | prefix+z |
| Swap pane left / down / up / right | prefix+shift+h / j / k / l |
| Rename pane | prefix+shift+p |
| Close pane | prefix+x |
Closing a pane ends whatever is running in it, including an agent.
Zoom (prefix+z) is handy when you need to read a long agent response. Press it again to restore the layout.
Resize panes with the keyboard
- Focus the pane you want to resize (
prefix+h/j/k/l). - Press
prefix+rto enter resize mode. - Press
h,j,k,l(or the arrow keys) to push the pane’s edge. - Press
escorenterto leave resize mode.
| Key in resize mode | Result |
|---|---|
h / left arrow | Resize left |
j / down arrow | Resize down |
k / up arrow | Resize up |
l / right arrow | Resize right |
esc or enter | Exit resize mode |
Resize without entering resize mode
Optional. Bind direct keys in ~/.config/herdr/config.toml:
1
2
3
4
5
[keys]
resize_pane_left = "ctrl+shift+alt+left"
resize_pane_down = "ctrl+shift+alt+down"
resize_pane_up = "ctrl+shift+alt+up"
resize_pane_right = "ctrl+shift+alt+right"
Then reload without restarting:
1
herdr server reload-config
Or press prefix+shift+r inside Herdr.
Your OS or terminal can grab some key combinations before Herdr sees them. If a binding does nothing, try a different combination.
Copy and scrollback
| Action | Shortcut |
|---|---|
| Copy mode for the focused pane | prefix+[ |
Open scrollback in $EDITOR | prefix+e |
In copy mode, move with h/j/k/l.
Session
| Action | Shortcut |
|---|---|
| Detach, leave everything running | prefix+q |
| Reattach | run herdr in any terminal |
| Settings | prefix+s |
| Reload config | prefix+shift+r |
| Show all shortcuts | prefix+? |
To fully stop Herdr and every agent in it:
1
herdr server stop
A typical day
prefix+shift+nand name the workspace after the client.prefix+cfor the first task, thenprefix+shift+tto name it.- Start the agent in the tab.
prefix+vto split right and run the dev server or tests next to it.prefix+r, thenla few times, to give the agent pane more room.escto finish.prefix+cfor the next task. Switch back withprefix+1,prefix+2orprefix+n.prefix+gto see every agent across every client and jump to the one that is blocked.prefix+qat the end of the day. The agents keep working.
Mouse
Herdr is mouse-native. You can click panes, tabs and workspaces, drag split borders to resize, and right-click for menus. The keyboard is optional.