Tabs, panes & drag-drop
How tabs and split panes work inside a workspace, every panel template, tab context menus, and all drag-and-drop interactions.
A workspace is divided into panes, and each pane holds a stack of tabs. Splits give you parallel views; tabs let one pane host multiple shells, AI agents, diffs, and browser previews without stealing screen space.
Tabs & panel templates
Every shell tab is attached to an isolated tmux -L purple session. The tab title updates from the foreground process (or keeps your custom name / branch name on worktree tabs).
| Action | macOS | Linux / Windows |
|---|---|---|
| New tab | ⌘T | Ctrl+T |
| Close tab | ⌘W | Ctrl+W |
| Previous tab | ⌘⇧[ | Ctrl+Shift+[ |
| Next tab | ⌘⇧] | Ctrl+Shift+] |
| Go to tab 1–9 | ⌃1 – ⌃9 | Alt+1 – Alt+9 |
Click + at the end of the tab bar (or press ⌘T / Ctrl+T) to launch:
- Terminal — plain shell
- Claude, Codex, Gemini (
agy), Pi / Oh My Pi (omp) — AI agent sessions with live timeline + terminal views - CLI Profiles — any custom preset saved in Settings → CLI Profiles
- Launch Session… — full launcher with an optional Initial Prompt and isolated Git worktree
- Diff — Git changes, commit history, and sync controls
- Web browser — embedded browser preview (macOS Electron app)
Drag & drop interactions
muxbay supports drag-and-drop across four surfaces:
- Reorder tabs in a pane — drag any tab horizontally along its tab bar.
- Move a live tab to another workspace — drag any tab directly onto another workspace in the sidebar. muxbay calls
tmux rename-sessionand migratesStatusManagerstate so the running shell or AI agent stays alive without interruption. - Resize split panes — drag the divider between any two panes.
- Organize workspaces & settings — drag workspaces into groups in the sidebar, drag images/files onto the Chat/Timeline input bar to attach them, and drag grips in Settings → Quick Prompts or Sidebar Items to reorder.
Tab right-click context menu
Right-clicking a tab gives quick access to:
| Action | Description |
|---|---|
| Rename | Inline-edit the tab label |
| Copy terminal output… | Opens the scrollable capture drawer for the tab's tmux pane |
| Copy worktree path | Copies the isolated ~/.purplemux/worktrees/... path (worktree tabs only) |
| Move to workspace | Submenu to move the live tab into any other workspace without restarting |
| Close / Close other tabs | Closes the tab (checking for dirty files on worktree tabs) or closes sibling tabs |
Splitting panes
Tabs share screen space. To see two things at once, split the pane.
| Action | macOS | Linux / Windows |
|---|---|---|
| Split right | ⌘D | Ctrl+D |
| Split down | ⌘⇧D | Ctrl+Shift+D |
A new split inherits the workspace's primary root directory and starts with an empty terminal tab. Each pane has its own tab bar, so a pane on the right can host the diff viewer while the pane on the left runs an AI agent.
Move focus between panes
Use the directional shortcuts — they walk the split tree, so ⌘⌥→ from a deeply nested pane still lands on the visually adjacent one.
| Action | macOS | Linux / Windows |
|---|---|---|
| Focus left | ⌘⌥← | Ctrl+Alt+← |
| Focus right | ⌘⌥→ | Ctrl+Alt+→ |
| Focus up | ⌘⌥↑ | Ctrl+Alt+↑ |
| Focus down | ⌘⌥↓ | Ctrl+Alt+↓ |
Resize and equalize
Drag the divider between panes for fine control, or use the keyboard.
| Action | macOS | Linux / Windows |
|---|---|---|
| Resize left | ⌘⌃⇧← | Ctrl+Alt+Shift+← |
| Resize right | ⌘⌃⇧→ | Ctrl+Alt+Shift+→ |
| Resize up | ⌘⌃⇧↑ | Ctrl+Alt+Shift+↑ |
| Resize down | ⌘⌃⇧↓ | Ctrl+Alt+Shift+↓ |
| Equalize splits | ⌘⌥= | Ctrl+Alt+= |
Clear the screen
| Action | macOS | Linux / Windows |
|---|---|---|
| Clear screen | ⌘K | Ctrl+K |
Only the visible scrollback buffer is wiped; the underlying shell keeps running.
What's next
- Copy, paste & context menus — terminal selection, HTTP clipboard fallback, OSC 52, and Paste & Send.
- Git worktrees & launch dialog — run parallel agents in isolated branches.
- Tmux & orphan sessions — attach or clean up unattached sessions.