Skip to content
Terminal > Windows, tabs & panes

Split panes

Split right or down; every pane is a fully independent session.


Split any pane and you get a second, fully independent terminal session beside it — its own shell, its own working directory, its own history and scrollback, its own agent if you start one.

Splitting

ActionWindows and LinuxMac
Split right (side by side)Ctrl+Shift+D⌃D or ⌘D
Split down (stacked)Ctrl+Shift+E⌃⇧D or ⌘⇧D
Next pane / previous paneCtrl+Shift+] / Ctrl+Shift+[⌘⇧] / ⌘⇧[

On Windows and Linux, plain Ctrl+D always reaches the shell (it ends input), because splitting uses Ctrl+Shift. You can also split from a block's right-click menu ("Split pane right" / "Split pane down") or the command palette. Splits nest freely — split a split to build any grid you like.

Focus

Click anywhere in an inactive pane to focus it. A small accent triangle in the top-right corner marks the active pane, and the tab title follows the active pane's working directory. If you find the unfocused panes distracting, turn on Dim inactive panes in Settings → Appearance; Focus follows mouse on the same page focuses a pane when the pointer moves over it.

Closing

  • Hover a pane's top-right corner and click the ✕ (red on hover).
  • Or press Ctrl+Shift+W (⌘W on a Mac) to close the active pane.

Closing a pane collapses the split — the surviving sibling takes over the space. On a tab's last pane, the same key closes the tab. Closed panes shut down their PTY and any running agent cleanly.

Resizing

Every divider is draggable: grab the hairline between two panes (it highlights in the accent color, with a resize cursor) and pull. Ratios are clamped so no pane can be squeezed out of existence.

Independence, concretely

  • cd in one pane never moves another — see Sessions.
  • Each pane's chips, Node version override, and environment are its own.
  • Agent conversations are per-pane; split panes host independent agents side by side.

Splits everywhere

Tab configs can declare whole split layouts declaratively — a two-pane agent-plus-server workbench, for example — so a new tab (Ctrl+Shift+T, or ⌘T on a Mac) can open your grid pre-built. See Tab configs. Every pane also appears as its own row in the sidebar rail.