Guides

Keyboard shortcuts

One prefix chord drives everything in attach. Default is Ctrl-b, changeable with vmux config set ui.prefix_key Ctrl-a.

Prefix-key map

KeysAction
Ctrl-b + arrowMove focus between panes
Ctrl-b zZoom the active pane
Ctrl-b [ / ]Previous / next tab
Ctrl-b tNew tab
Ctrl-b wWorkspace picker (j/k or arrows, Enter to switch, Esc to close)
Ctrl-b BToggle the sidebar
Ctrl-b uJump to whatever just notified you
Ctrl-b PCommand palette
Ctrl-b GAgent status panel
Ctrl-b AProject actions (from vmux.json)
Ctrl-b oPorts panel

Ports panel

Once the ports panel is open (Ctrl-b o, or the command palette → ports):

KeyAction
j / kSelect a port
EnterFocus the owning pane
cCopy the ssh -L command (OSC 52 + local clipboard tools)
fTailscale forward
xUnforward
rRescan
EscClose

More on ports: Ports & forwarding.

Mouse

The mouse works too (ui.mouse, default on):

  • Wheel to scroll back in a pane's history
  • Right-click a pane for copy, paste, split, and clear

Changing the prefix key

vmux config set ui.prefix_key Ctrl-a

Every shortcut above shifts to whatever chord you set — the mapping does not change, only the prefix.