Keybindings
Herdr uses a tmux-style prefix key. The default prefix is ctrl+b. Press the prefix, then press an action key.
Press prefix+? at any time to open the in-app keybind help. It shows your configured shortcuts, including any custom command bindings.
To change bindings, see Configuration.
Global
Section titled “Global”| Key | Action |
|---|---|
ctrl+b | Enter prefix mode |
prefix+? | Open keybind help |
prefix+s | Open settings |
prefix+q | Detach client |
prefix+shift+r | Reload config.toml |
prefix+o | Open notification target |
Workspaces and tabs
Section titled “Workspaces and tabs”| Key | Action |
|---|---|
prefix+w | Open workspace navigation |
prefix+g | Open session navigator |
prefix+shift+n | New workspace |
prefix+shift+g | New worktree |
prefix+shift+w | Rename workspace |
prefix+shift+d | Close workspace |
prefix+c | New tab |
prefix+shift+t | Rename tab |
prefix+p | Previous tab |
prefix+n | Next tab |
prefix+1 … prefix+9 | Switch to tab 1–9 |
prefix+shift+x | Close tab |
| Key | Action |
|---|---|
prefix+v | Split right |
prefix+minus | Split down |
prefix+x | Close pane |
prefix+shift+p | Rename pane |
prefix+e | Edit scrollback in $EDITOR |
prefix+[ | Enter copy mode |
prefix+z | Zoom focused pane |
prefix+r | Enter resize mode |
prefix+b | Toggle sidebar |
prefix+h | Focus pane left |
prefix+j | Focus pane down |
prefix+k | Focus pane up |
prefix+l | Focus pane right |
prefix+shift+h | Swap pane left |
prefix+shift+j | Swap pane down |
prefix+shift+k | Swap pane up |
prefix+shift+l | Swap pane right |
prefix+tab | Cycle pane next |
prefix+shift+tab | Cycle pane previous |
Workspace navigation mode
Section titled “Workspace navigation mode”Open this with prefix+w. Keys apply only while navigate mode is active.
| Key | Action |
|---|---|
esc | Back |
up / down | Move workspace selection |
h / j / k / l | Move pane focus |
left / right | Move pane focus left / right |
tab / shift+tab | Cycle pane |
enter | Open selected workspace |
1 … 9 | Switch to workspace 1–9 |
Session navigator
Section titled “Session navigator”Open this with prefix+g.
| Key | Action |
|---|---|
esc | Close |
/ | Focus search |
j / k / up / down | Move selection |
enter | Jump to selection |
b / w / i / d / a | Filter by agent state |
space | Expand or collapse workspace |
While search is focused, type to filter. Use ctrl+n / ctrl+p to move the selection, ctrl+u to clear the query, and enter to jump.
Copy mode
Section titled “Copy mode”Enter with prefix+[.
| Key | Action |
|---|---|
h / j / k / l | Move cursor |
left / right / up / down | Move cursor |
w / b / e | Word motion |
{ / } | Paragraph motion |
v / space | Start selection |
V | Select line |
y / enter | Copy selection and exit |
q / esc | Exit without copying |
pageup / pagedown | Scroll viewport |
ctrl+u / ctrl+d | Scroll half page |
Resize mode
Section titled “Resize mode”Enter with prefix+r.
| Key | Action |
|---|---|
h / j / k / l | Resize toward left / down / up / right |
left / right / up / down | Resize |
esc / enter / prefix+r | Exit resize mode |
Optional bindings
Section titled “Optional bindings”These actions are unset by default. Bind them in config.toml when you want them.
| Config field | Example binding |
|---|---|
previous_workspace | prefix+shift+left |
next_workspace | prefix+shift+right |
switch_workspace | prefix+shift+1..9 |
previous_agent | prefix+shift+a |
next_agent | prefix+a |
focus_agent | prefix+alt+1..9 |
last_pane | prefix+semicolon |
open_worktree | prefix+shift+o |
remove_worktree | prefix+alt+d |
last_pane jumps back to the last focused pane across workspaces and tabs. It is unset by default. prefix+l is already bound to focus pane right, and prefix+tab is bound to cycle pane next, so use a free chord such as prefix+semicolon.