Skip to content

The TUI

hmk tui shows your Hammock workspace full-screen in a terminal: the same Groups, tabs and panes as the Mac app, live, driven with the mouse or a Ctrl-B prefix like tmux’s. Use it over SSH, on Linux, where there’s no app, or in a terminal you prefer.

Terminal window
hmk tui

Quit with ⌃B q; your panes keep running. If hmkd stops or restarts, the TUI stays open and reconnects when it’s back.

The sidebar lists your Groups, tabs and agents’ states, with Needs You at the bottom (click +N more to see the rest in the palette); the selected tab fills the rest. Click, drag and right-click as you would in the app; middle-click a tab to close it, and scroll over the Horizontal Tabs bar to switch tabs. Drag in a pane to copy text, holding Shift in programs that use the mouse themselves.

Browser and simulator panes show live pictures in terminals that can draw them (Ghostty and Kitty). Pasting into a simulator pane puts the text on the device’s clipboard, and its menu’s Copy Device Clipboard copies the device’s to yours. In an Apple TV’s or Android TV’s pane, the arrow keys, Return, Escape and Space are its remote’s. Diff panes show a summary: review diffs in the Mac app.

⌃B k opens the command palette. ⌃B s opens the TUI’s Settings: tab layout, animations, Nerd Font icons, sidebar width, the editor, and which kinds of pane Hammock offers. They win over the config file; every key is in the config reference.

⌃B @ lists your automations and their recent runs. n makes one and e edits the selected one, with its triggers, Only If conditions and options: see Making one in the TUI.

The TUI draws editor panes itself, without syntax colours, and edits the same buffer as the Mac and phone apps (keys below). To use $VISUAL or $EDITOR instead, set editor-tui-external = true: focusing an editor pane opens the file there, and Hammock takes each save.

Press ⌃B, let go, then the key. ⌃B ? shows this list in the TUI.

Keys Action
⌃B k or ⌃B Space Command palette
⌃B ? Keyboard shortcuts
⌃B c or ⌃B t New tab
⌃B b New browser tab
⌃B S New Group
⌃B . Configure Group
⌃B , Rename tab
⌃B s Settings
⌃B O Find a session
⌃B @ Automations
⌃B e Quick Open (a file)
⌃B E New editor tab
⌃B % or ⌃B | Split right
⌃B “ or ⌃B - Split down
⌃B r Rotate split
⌃B x Close pane
⌃B T Reopen closed tab or pane
⌃B f New floating pane
⌃B F Float or dock pane
⌃B m Minimise floating pane
⌃B j Hide or show floating panes
⌃B z Zoom floating pane
⌃B n / ⌃B p Next / previous tab
⌃B 1 to 9 Tab 1 to 9 in this Group
⌃B o Next pane
⌃B ← ↑ / ⌃B → ↓ Previous / next pane
⌃B [ / ⌃B ] Scroll back / forward a page
⌃B a / ⌃B A Next / previous agent that needs you
⌃B y Allow the newest request, once
⌃B Y Allow the newest request, always in this Group
⌃B N Deny the newest request
⌃B M Next computer (with linked computers)
⌃B ⌃B Send ⌃B to the pane
⌃B q or ⌃B d Quit

Drag a floating pane by its header or top border, and resize it from its other edges. Hold Alt while dragging to dock it into the split under the pointer.

Keys Action
⌃S Save
⌃F Find
⌃G Go to line
⌃Z / ⌃Y Undo / redo
⌃C / ⌃X Copy / cut (paste with your terminal)
⌃A / ⌃E Start / end of the line
⌥← / ⌥→ Back / forward a word
Shift with a move Select
Tab / ⇧Tab Indent / outdent

The Mac app’s shortcuts are different: see Keyboard shortcuts.

These docs describe Hammock 2026.11.0. What's new