vmux
Windows

Split Panes

Divide a window into multiple terminal panes.

Creating Splits

Split your current window to run multiple terminals side by side without opening separate windows.

MethodWhat it does
Cmd + DSplit vertically (new pane to the right)
Cmd + Shift + DSplit horizontally (new pane below)
vsh: split-vSplit vertically
vsh: split-hSplit horizontally
vsh: split-leftSplit with new pane to the left
vsh: split-upSplit with new pane above
vsh: split-autoSplit in whichever direction gives the most space

Each new pane opens its own terminal session using the same connection profile as the original pane.

Move focus between panes using keyboard shortcuts or vsh commands.

MethodWhat it does
Cmd + ]Focus next pane
Cmd + [Focus previous pane
Ctrl + TabFocus next pane (alternate)
Ctrl + Shift + TabFocus previous pane (alternate)
Cmd + Option + LeftFocus pane to the left
Cmd + Option + RightFocus pane to the right
Cmd + Option + UpFocus pane above
Cmd + Option + DownFocus pane below
vsh: focus-leftFocus pane to the left
vsh: focus-rightFocus pane to the right
vsh: focus-upFocus pane above
vsh: focus-downFocus pane below
vsh: pane-nextFocus next pane
vsh: pane-prevFocus previous pane

The currently focused pane has an active cursor and receives keyboard input. You can also look at a pane to focus it on visionOS.

Resizing Panes

Adjust the size of the focused pane using keyboard shortcuts or vsh commands.

MethodWhat it does
Cmd + Ctrl + LeftGrow pane to the left
Cmd + Ctrl + RightGrow pane to the right
Cmd + Ctrl + UpGrow pane upward
Cmd + Ctrl + DownGrow pane downward
vsh: resize-leftGrow pane to the left
vsh: resize-rightGrow pane to the right
vsh: resize-upGrow pane upward
vsh: resize-downGrow pane downward

Equalizing Splits

If your panes are different sizes and you want them evenly distributed:

MethodWhat it does
Cmd + Ctrl + =Equalize all pane sizes
vsh: split-equalizeEqualize all pane sizes

This resets all panes in the window to equal dimensions.

Maximize and Restore

Temporarily maximize the focused pane to fill the entire window, then restore the previous layout.

MethodWhat it does
Cmd + Shift + EnterToggle maximize / restore
vsh: split-maxToggle maximize / restore

While maximized, the other panes are hidden but their sessions continue running in the background. Toggle again to restore the split layout.

Closing a Pane

Close the focused pane without affecting other panes in the window.

MethodWhat it does
Cmd + Ctrl + WClose current pane
vsh: pane-closeClose current pane

Closing a pane removes it from the split layout and redistributes space to the remaining panes. The underlying session can optionally be kept running -- see Managing Windows for the difference between closing and terminating.

Use Cmd + W to close the entire tab, or Cmd + Shift + W to close the window (all tabs and panes).

Keyboard Shortcuts Reference

ShortcutAction
Cmd + DSplit vertical
Cmd + Shift + DSplit horizontal
Cmd + ]Next pane
Cmd + [Previous pane
Ctrl + TabNext pane (alternate)
Ctrl + Shift + TabPrevious pane (alternate)
Cmd + Option + ArrowFocus pane in direction
Cmd + Ctrl + ArrowResize pane in direction
Cmd + Ctrl + =Equalize splits
Cmd + Shift + EnterMaximize / restore pane
Cmd + Ctrl + WClose pane

See Also