Skip to content

Keybindings

Preview docs describe unreleased preview builds. Stable docs remain at /docs/.

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.

KeyAction
ctrl+bEnter prefix mode
prefix+?Open keybind help
prefix+sOpen settings
prefix+qDetach client
prefix+shift+rReload config.toml
prefix+oOpen notification target
KeyAction
prefix+wOpen workspace navigation
prefix+gOpen session navigator
prefix+shift+nNew workspace
prefix+shift+gNew worktree
prefix+shift+wRename workspace
prefix+shift+dClose workspace
prefix+cNew tab
prefix+shift+tRename tab
prefix+pPrevious tab
prefix+nNext tab
prefix+1 … prefix+9Switch to tab 1–9
prefix+shift+xClose tab
KeyAction
prefix+vSplit right
prefix+minusSplit down
prefix+xClose pane
prefix+shift+pRename pane
prefix+eEdit scrollback in $EDITOR
prefix+[Enter copy mode
prefix+zZoom focused pane
prefix+rEnter resize mode
prefix+bToggle sidebar
prefix+hFocus pane left
prefix+jFocus pane down
prefix+kFocus pane up
prefix+lFocus pane right
prefix+shift+hSwap pane left
prefix+shift+jSwap pane down
prefix+shift+kSwap pane up
prefix+shift+lSwap pane right
prefix+tabCycle pane next
prefix+shift+tabCycle pane previous

Open this with prefix+w. Keys apply only while navigate mode is active.

KeyAction
escBack
up / downMove workspace selection
h / j / k / lMove pane focus
left / rightMove pane focus left / right
tab / shift+tabCycle pane
enterOpen selected workspace
1 … 9Switch to workspace 1–9

Open this with prefix+g.

KeyAction
escClose
/Focus search
j / k / up / downMove selection
enterJump to selection
b / w / i / d / aFilter by agent state
spaceExpand 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.

Enter with prefix+[.

KeyAction
h / j / k / lMove cursor
left / right / up / downMove cursor
w / b / eWord motion
{ / }Paragraph motion
v / spaceStart selection
VSelect line
y / enterCopy selection and exit
q / escExit without copying
pageup / pagedownScroll viewport
ctrl+u / ctrl+dScroll half page

Enter with prefix+r.

KeyAction
h / j / k / lResize toward left / down / up / right
left / right / up / downResize
esc / enter / prefix+rExit resize mode

These actions are unset by default. Bind them in config.toml when you want them.

Config fieldExample binding
previous_workspaceprefix+shift+left
next_workspaceprefix+shift+right
switch_workspaceprefix+shift+1..9
previous_agentprefix+shift+a
next_agentprefix+a
focus_agentprefix+alt+1..9
last_paneprefix+semicolon
open_worktreeprefix+shift+o
remove_worktreeprefix+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.