Skip to content

Keys

codehead --help prints the full list. ⌘ keys need a terminal with the kitty keyboard protocol.

Key Action
F2 menu: quick commands, threads, agents
tab / shift+tab next / previous tab or field
esc close the current control, one level back
ctrl+c quit at once (copies a selection first, in the thread view)
ctrl+z / ctrl+shift+z undo / redo in any text field (⌘z / ⌘⇧z)
Key Action
esc esc quit from the new tab
@ / > agents / commands dropdown in the prompt
← → the where row: branch or worktree
ctrl+v paste a clipboard image
ctrl+s / ctrl+r settings: save / reload
ctrl+n / ctrl+d settings: add / remove an alias
Key Action
ctrl+enter send the prompt (⌘enter)
↑ / ↓ prompt history, on the first / last row
esc interrupt the agent
esc esc back to the start screen
tab open / close the thread header
ctrl+o open all tool rows
ctrl+i VS Code on the thread’s worktree (⌘i)
ctrl+click open a link
shift+pgup, wheel scroll the stream