#Keyboard Shortcuts
Default cmux keyboard shortcuts. Every cmux-owned shortcut can be changed in Settings or ~/.config/cmux/cmux.json, including two-step chords.
Resize the focused pane with Ctrl+Shift+H/J/K/L (left/down/up/right). Hold a key to keep resizing. Change the bindings and Pane Resize Step in Settings → Keyboard Shortcuts. The step is also configurable with app.paneResizeStepPixels in cmux.json (1–200, default 20).
#Shortcut chords
cmux supports two-step shortcut chords in ~/.config/cmux/cmux.json. For the full configuration schema, see the configuration docs.
{
"shortcuts": {
"bindings": {
"newSurface": ["ctrl+b", "c"],
"showNotifications": ["ctrl+b", "i"],
"toggleSidebar": "cmd+b",
"toggleFileExplorer": "cmd+opt+b",
"splitRight": "",
"commandPalettePrevious": null
}
}
}- Use a plain string for a one-step shortcut.
- Use a two-item array for a chord. The first item is the prefix stroke, the second is the key that follows it.
- Each item uses the same syntax as regular bindings, for example cmd+b, ctrl+b, shift+/, or ctrl+1.
Application, window, and top-level command shortcuts.
Workspaces live in the sidebar. Each workspace has its own set of panes and surfaces.
Surfaces are tabs inside a pane.
A freeform 2D layout mode where panes float on an infinite, pannable canvas. Alignment and distribution commands are available from the command palette.