Skip to content

Groups, tabs and panes

Everything in Hammock lives in one workspace, and the Mac app, the iPhone and Android apps, the TUI and the hmk CLI all show the same one.

  • A Group is a project: a set of tabs, usually opened in one folder. Groups are listed in the sidebar.
  • A tab holds one or more panes, split side by side or floating over each other.
  • A pane is a terminal, an agent, or one of the other kinds of pane: a browser, a simulator, a log, an editor or a diff.

This page uses the Mac app’s default shortcuts. You can change any of them: see Keyboard shortcuts.

The Hammock Server, running in the background, owns your panes; the window is only a view of them. Quit Hammock, update it, or even crash it, and your shells, servers and agents carry on. After a restart or log-out, your Groups and tabs come back as they were: each pane starts again in its folder with its earlier output, and agents resume their sessions.

When a pane’s program fails, the pane stays, with its output, and a bar along its bottom: Run Again (or Return) starts it again in the same pane, and an agent’s pane says Resume and carries on its session. A program that finishes cleanly closes its pane.

New Group (⌘N), or New Group in Directory… (⇧⌘N) for one named after a folder. Configure Group… (⌥⌘G) changes its name, icon and folder. ⌥⌘↓ and ⌥⌘↑ move between Groups; drag one in the sidebar to reorder it. Click a Group’s header to collapse or expand it; its right-click menu also has Collapse Others.

Drag folders from the Finder onto the sidebar: between Groups, each makes a Group there; onto one of this Mac’s Groups, each opens a tab in it. A folder that already has a Group selects that Group instead. Dropping folders on the Dock icon makes Groups too.

Terminal window
hmk group new api --folder ~/Developer/api

New tabs open in the Group’s folder, which follows you: it’s the folder you last worked in. Set it yourself with File ▸ Change Group Folder… or hmk group folder, and open it with File ▸ Reveal Group in Finder.

A Group’s icon is an emoji or picture set in Configure Group… (or hmk group icon), or, if you haven’t set one, the project’s own .hammock/icon.png (or .jpg): commit one and everyone who opens the repository in Hammock sees it. Settings ▸ Appearance ▸ Group icons hides them.

  • New Tab (⌘T) opens a terminal; the toolbar’s + opens any other kind of tab.
  • New Agent Tab… (⌥⌘N) starts a coding agent, or your default agent’s item does. See Agents.
  • Switch with ⌘1 to ⌘9, or ⇧⌘] and ⇧⌘[.
  • Rename Tab… (⇧⌘R). Unnamed tabs are named after what’s running in them.

Drag a tab to reorder it or move it to another Group, or use File ▸ Move Tab Up and Move Tab Down (give them shortcuts in Settings ▸ Keyboard). Right-click a tab and choose Merge into Tab to put its panes beside another tab’s; Pane ▸ Move Pane to New Tab does the reverse.

The sidebar (⌃⌘S) lists your Groups with their tabs, vertically, compactly, or with the tabs along the top (Settings ▸ Appearance ▸ Layout). A tab running an agent shows its state in its icon: Agents explains each one. A tab in a git worktree, or on a branch with a pull request, shows that too: see Agents in a new worktree.

Rest the pointer on a tab to preview it: its panes, live, with its full title, its agent’s state, who’s in it and when it last printed anything. Click a pane in the preview to go straight to it. Turn this off with Settings ▸ Appearance ▸ Preview on hover.

Groups and Sessions, at the bottom left (View ▸ Show Groups, ⌥⌘1, and Show Sessions, ⌥⌘2), switch what the sidebar lists (or swipe sideways over it with two fingers); with the tabs along the top, their bar hides while Sessions shows. Sessions lists every tab with an agent, as your phone does: Needs You, Working, Finished (not yet looked at), then Recent, newest first. Click one to go to its agent. Settings ▸ Appearance ▸ Groups and Sessions switch hides the switch. Your computers are at the bottom right: right-click one for its menu, and with others linked, click one to show only its Groups.

At the bottom of Groups, Needs You lists agents waiting on you, and Finished those that are done (rest the pointer on one and click its ✕, or right-click it, to dismiss it); +N more under a list counts the cards scrolled out of sight below it, and clicking it scrolls to them. View ▸ Next Agent That Needs You (⌥⌘A) goes to each waiting agent in turn, and ⌥⇧⌘A goes back. A permission request shows what the agent is asking to do, as its terminal does; when that’s more than the card can show, Review… opens the pane in place of Allow. Allow answers only the request its card shows: if the agent is asking something else by then, the card shows that instead.

  • Split Right (⌘D) and Split Down (⇧⌘D). The toolbar’s split buttons split with other kinds of pane.
  • Move between panes with ⌘] and ⌘[, and drag the line between them to resize; double-click it to make both sides the same size.
  • Rotate Split (⌥⇧⌘D) turns the split the focused pane is in from side by side to stacked, or back.
  • Zoom Pane (⇧⌘↩) fills the tab with the focused pane, and puts it back.
Terminal window
hmk split PANE --down -- npm run dev

A floating pane sits over the tab’s splits, handy for a dev server’s output or a quick shell.

  • New Floating Pane (⇧⌘F), or Float or Dock Pane (⇧⌘J) to lift the focused pane out or put it back.
  • Drag one by its header to move it; hold ⌥ to dock it into the split under the pointer.
  • Minimise Floating Pane (⌃⌘M) puts it, still running, on the tab’s shelf along the bottom. Show or Hide Floating Panes (⌘J) does it for them all.
Terminal window
hmk split PANE --float -- tail -f server.log

Right-click a Group, tab or pane and choose Open in New Window (or use the Window menu) to show it in a window of its own, for instance to share just that on a call. It’s the same Group, tab or pane, not a copy: what you do there happens in your workspace, and closing the window closes nothing. A tab or pane fills its window; a Group’s window has only that Group’s tabs, with its own selected tab.

A pane showing in two windows takes the size of the one you were in last. A browser page shows in one window at a time: click it in the other to bring it there.

Terminal window
hmk window open tab TAB

Command Palette… (⌘K) finds any action by name, with its shortcut. Find Session… (⇧⌘O) searches agents’ past sessions so you can resume one.

⌘W closes the focused pane, and with it an emptied tab. However you close a pane, tab or Group, on the Mac, in the TUI or on your phone, Hammock asks first if that would stop an agent at work. Reopen Closed Tab or Pane (⇧⌘T, or hmk reopen) brings it back, and its agent resumes its session.

Hammock tells you when an agent is waiting for you, asks for permission, finishes, hits an error, or replies to your review comments. Choose which, where they appear and their sounds in Settings ▸ Notifications. A notification about an agent’s permission prompt has Allow and Deny, which answer it as Needs You does; if the prompt has changed, or can only be answered in the agent view, nothing is pressed and the notification says so. With a phone paired, they reach it when you’re away: see Hammock on iPhone or on Android. Every setting is in the config reference.

These docs describe Hammock 2026.11.0. What's new