Skip to main content

tmux-hidden-panes Documentation

Hide the pane, keep the process.

tmux-hidden-panes lets you temporarily remove any running tmux pane from a crowded workspace without killing the process inside it. Later, restore it from a popup list with its label, original window, layout position, and dimensions.

Who This Track Is For
  • Developers running editors, tests, AI agents, or file managers in panes
  • Operators keeping SSH sessions, logs, dashboards, and monitors alive
  • tmux users who want less visual clutter without losing process state
  • Users of tmux-resurrect or tmux-continuum who need hidden panes after restart
What You Will Build
  • A hide and restore workflow for arbitrary panes
  • Labeled, persistent pane stashes with a fast last-pane toggle
  • Layout-aware restoration into the original workspace
  • A status bar indicator for hidden-pane count
  • Restart recovery using tmux-resurrect sidecars

Core Model

tmux does not have a native hidden-pane object. The plugin moves a pane into a

Learning Path

ModuleFocusOutcome
1. Getting StartedInstall and first pane hideA working popup workflow
2. Core WorkflowLabels, picker, quick toggleFast daily use
3. Layout and WorkspaceLayout recovery and status countPredictable workspace restoration
4. Persistence and RecoveryResurrect and ContinuumHidden panes after restart
5. Configuration and TroubleshootingOptions and diagnosisSafe customization and repairs
6. ReferenceKeys, files, commands, limitationsOperational reference

Key Bindings at a Glance

BindingAction
prefix + HLabel and hide the focused pane
prefix + hOpen the picker and restore a selected pane
prefix + TRestore the latest hidden pane, or hide the focused pane when none are hidden
prefix + C-sSave through the Resurrect wrapper when available
prefix + C-rRestore through the Resurrect wrapper when available
note

This server uses Ctrl+Space as the tmux prefix. Therefore prefix + H means Ctrl+Space, release, then Shift+H.

What Persists

During the same tmux server lifetime, the plugin preserves the live process. For example, a hidden ssh, yazi, btop, or opencode pane continues running in __hidden__.

With tmux-resurrect integration, the plugin also persists metadata required to reconstruct the hidden-pane workflow after a tmux restart. Processes themselves must still be supported by Resurrect to restart.

Next Step

Start with Installation and First Hide.