Skip to content

Smart close

Mod by iml885203

Makes cmd-w close only the focused pane, and the tab only when it was its last pane.

Spaces, tabs & sidebar2 starsupdated 26 days agoadds shortcuts
Screenshot of Smart close

What it does

Pressing cmd-w closes the focused pane. The tab closes only when that pane was its last one. Nothing shows on screen; the popup it uses closes at once.

Install the mods/smart-close folder and bind cmd-w in keys.json. If cmd-w is already bound, the mod replaces that binding, so check first.

cmd-w closes the pane you're in; the tab goes only with its last pane.

From the author's RECIPE.md

Good for

Where it appears

More from iml885203/herdr-mods

6 other entries in the same repository.

Agent History

by iml885203

Searches past Claude Code and Codex sessions by their messages and resumes the one you pick.

Sessions & historyKeyboard shortcuts226 days ago

Attn next

by iml885203

Jumps to the next agent that needs you, with a popup listing agents by attention.

Navigation & shortcutsKeyboard shortcuts226 days ago

Claude goal

by iml885203

Opens a popup that writes the next /goal for the Claude Code session in the focused terminal.

Sessions & historyKeyboard shortcuts226 days ago

Claude tab name

by iml885203

Keeps a tab and its Claude Code session under the same name, with F2 to rename both at once.

Sessions & historyKeyboard shortcuts226 days ago

Kubernetes

by iml885203

Browses pods, deployments, nodes and logs across several Kubernetes clusters in one window.

Dev tools & infrastructureKeyboard shortcuts226 days ago

Session changes

by iml885203

Shows what a Claude Code session changed in each repo, down to the file diffs.

Agent status & alertsKeyboard shortcuts226 days ago

Similar mods

Same job, overlapping tags and integrations.

All of Spaces, tabs & sidebar

Zen

by CodeyPacker

Hides every part of the window except the active tab's panes, and restores them on the same key.

Spaces, tabs & sidebarKeyboard shortcuts17yesterday

Confirm Close

by Hariketsu

Asks for confirmation before cmd-w, cmd-shift-w or cmd-q closes a pane, tab or Herdr.

Spaces, tabs & sidebarKeyboard shortcuts329 days ago

Panel buttons

by nakamotosai

Adds Usage, Log and Cron toggle buttons that show or collapse a docked panel column.

Spaces, tabs & sidebar21 mo ago

Move to

by islee23520

Opens a dialog that moves the focused pane or tab to another space, a new space or another tab.

Spaces, tabs & sidebarKeyboard shortcuts125 days ago

Tab Move

by erikfrish

Moves a tab to another space from its right-click menu, by dragging, or with ctrl-shift-m.

Spaces, tabs & sidebarKeyboard shortcuts0yesterday

Layout toggle

by prakash-sr

Adds buttons to the tab bar that show or hide chosen parts of the window layout.

Spaces, tabs & sidebar011 days ago

Join tabs

by denizeroglu

Joins two tabs into one split tab, or splits a pane back out into its own tab

Spaces, tabs & sidebarKeyboard shortcuts014 days ago

Pane Move

by agentic-tool-labs

Moves a terminal pane to another tab or workspace by drag, right-click menu, or a shortcut.

Spaces, tabs & sidebarKeyboard shortcuts017 days ago