Configuration
cmux reads terminal configuration from Ghostty config files. cmux-owned app settings also live in ~/.config/cmux/cmux.json, including shortcuts, automation, sidebar behavior, notifications, and browser preferences.
Config file locations
cmux looks for configuration in these locations (in order):
~/.config/ghostty/config~/Library/Application Support/com.mitchellh.ghostty/config
Create the config file if it doesn't exist:
mkdir -p ~/.config/ghostty
touch ~/.config/ghostty/configExample config
font-family = SF Mono
font-size = 13
sidebar-font-size = 14
surface-tab-bar-font-size = 11
theme = One Dark
scrollback-limit = 50000000
split-divider-color = #3e4451
working-directory = ~/codecmux.json
cmux keeps app-owned settings, shortcuts, actions, custom commands, and workspace layouts in ~/.config/cmux/cmux.json. Terminal rendering still lives in Ghostty config. On launch, if the file is missing, cmux writes a commented template there.
Open cmux Settings, then use the cmux.json section to open the canonical file in your preferred text editor.
~/.config/cmux/cmux.json.cmux/cmux.jsonin a project for project-scoped actions and workspace commands
~/.config/cmux/cmux.json settings override values saved in the Settings window. Legacy ~/.config/cmux/settings.json and Application Support settings files are read only as fallback for missing settings keys. Project-local .cmux/cmux.json can override actions, commands, UI action wiring, and notification hooks, but not global app preferences.Cmd+Shift+, or cmux reload-config to re-read it without restarting the app.schemaVersion at 1 for now. Future cmux versions will use that field for upgrades. If cmux sees a newer schema version, it logs a warning and parses known keys only.The file accepts JSON with comments and trailing commas. The canonical schema is published at https://raw.githubusercontent.com/manaflow-ai/cmux/main/web/data/cmux.schema.json and the source lives at https://github.com/manaflow-ai/cmux/blob/main/web/data/cmux.schema.json.
{
"$schema": "https://raw.githubusercontent.com/manaflow-ai/cmux/main/web/data/cmux.schema.json",
"schemaVersion": 1,
// "app": {
// "appearance": "dark",
// "menuBarOnly": false,
// "newWorkspacePlacement": "afterCurrent",
// "windowTitleTemplate": "[cmux:{windowToken}] {activeWorkspace}",
// "paneResizeStepPixels": 20,
// "confirmQuit": "always",
// "openSupportedFilesInCmux": true,
// "workspaceInheritWorkingDirectory": true,
// "iMessageMode": true
// },
// "terminal": {
// "showScrollBar": false,
// "copyOnSelect": true,
// "autoResumeAgentSessions": true,
// "showTextBoxOnNewTerminals": false,
// "focusTextBoxOnNewTerminals": false,
// "agentHibernation": {
// "enabled": false,
// "idleSeconds": 5,
// "maxLiveTerminals": 12
// },
// "textBoxMaxLines": 10
// },
// "browser": {
// "defaultSearchEngine": "kagi",
// // For an unlisted provider, set "defaultSearchEngine": "custom" and fill these:
// "customSearchEngineName": "My Search",
// "customSearchEngineURLTemplate": "https://search.example.com/?q={query}",
// "openTerminalLinksInCmuxBrowser": true,
// "hostsToOpenInEmbeddedBrowser": ["localhost", "*.internal.example"]
// },
// "markdown": {
// // Default body font size (points) for newly opened markdown viewers.
// // Zoom a viewer live with Cmd-+ / Cmd-- / Cmd-0.
// "fontSize": 15,
// // Default body font family. Empty keeps the system markdown font stack.
// "fontFamily": "",
// // Default maximum reading column width, in CSS pixels.
// "maxWidth": 980
// },
// "fileEditor": {
// // Wrap long lines at the editor's right edge instead of scrolling horizontally.
// "wordWrap": false
// },
// "fileExplorer": {
// // Double-click a file: preview (default), defaultEditor (macOS default app), or preferredEditor (the app.preferredEditor command).
// "doubleClickAction": "preview"
// },
// "automation": {
// "suppressSubagentNotifications": true
// },
// "workspaceColors": {
// "colors": {
// "Red": "#C0392B",
// "Blue": "#1565C0",
// "Neon Mint": "#00F5D4"
// }
// },
// "workspaceGroups": {
// "newWorkspacePlacement": "afterCurrent"
// },
// "agentChat": {
// "url": "http://127.0.0.1:7739",
// "startCommand": "cmux-chat"
// },
// "shortcuts": {
// "bindings": {
// "toggleSidebar": "cmd+b",
// "toggleFileExplorer": "cmd+opt+b",
// "toggleFileEditorWordWrap": "opt+z",
// "newTab": ["ctrl+b", "c"],
// "commandPalettePrevious": null
// }
// },
}Schema reference
This reference covers every supported global settings key in cmux.json. The embedded browser, terminal, sidebar, notifications, automation, and cmux-owned keyboard shortcuts all live here. Actions and workspace commands are documented on the custom commands page.
Metadata
$schemaOptional schema URL for editor completion and validation.
- Type
string- Default
"https://raw.githubusercontent.com/manaflow-ai/cmux/main/web/data/cmux.schema.json"
schemaVersionSchema version for forward-compatible migrations. Newer versions are parsed on a best-effort basis.
- Type
integer- Default
1
app
General app preferences from Settings > App.
app.languagePreferred app language.
- Type
string- Default
"system"- Allowed values
system, en, ar, bs, zh-Hans, zh-Hant, da, de, es, fr, it, ja, ko, nb, pl, pt-BR, ru, th, tr
app.appearanceApp appearance mode.
- Type
string- Default
"system"- Allowed values
system, light, dark
app.accentColorAccent for cmux-drawn chrome: the selected workspace, attention ring and pane flash, agent status, pane swap, canvas focus, and scroll markers. "cmux" uses cmux blue; "system" follows the macOS accent color and updates when it changes; a "#RRGGBB" hex uses that color in light and dark mode. workspaceColors.selectionColor and notifications.paneFlashColor still override their parts. Native controls always use the macOS accent.
- Type
string | unknown- Default
"cmux"
app.appIconDock and app switcher icon style.
- Type
string- Default
"automatic"- Allowed values
automatic, light, dark
app.windowTitleTemplateOptional NSWindow title template. Blank preserves cmux's existing default title behavior, including the current-directory fallback. Supported placeholders: {windowId}, {windowToken}, {activeWorkspace}, {activeDirectory}, {defaultTitle}, {appName}.
- Type
string- Default
""
app.devWindowDisplayDEBUG-only display name used when opening new windows. An empty value uses the system default.
- Type
string- Default
""
app.menuBarOnlyHide the Dock icon and app switcher entry while keeping cmux available from the menu bar.
- Type
boolean- Default
false
app.newWorkspacePlacementWhere new workspaces are inserted in the sidebar.
- Type
string- Default
"afterCurrent"- Allowed values
top, afterCurrent, end
app.goToWorkspaceOrderOrder used by Go to Workspace (Cmd-P): sidebar order, or most recently focused workspaces.
- Type
string- Default
"sidebar"- Allowed values
sidebar, recent
app.forkConversationDefaultDestinationDefault destination for the tab context menu's primary Fork Conversation action. The submenu still exposes every destination.
- Type
string- Default
"right"- Allowed values
right, left, top, bottom, newTab, newWorkspace
app.workspaceInheritWorkingDirectoryWhen true, new workspaces inherit the current workspace working directory. When false, new workspaces use Ghostty's working-directory setting instead.
- Type
boolean- Default
true
app.minimalModeHide the workspace title bar and move controls into the sidebar.
- Type
boolean- Default
false
app.keepWorkspaceOpenWhenClosingLastSurfaceWhen true, closing the last surface keeps the workspace open.
- Type
boolean- Default
false
app.focusPaneOnFirstClickWhen cmux is inactive, the first click can activate and focus the clicked pane.
- Type
boolean- Default
false
app.paneResizeStepPixelsPixels moved per keypress when using pane-resize shortcuts. Accepts 1–200; defaults to 20. Changes apply immediately.
- Type
integer- Default
20
app.focusHistoryIncludesPanesAndTabsWhen true, Back and Forward include focus changes between panes and tabs. When false, they navigate between workspaces only.
- Type
boolean- Default
false
app.equalizeSplitsOnCreateWhen true, creating a split resizes the panes in that split's row or column to equal sizes. When false, a new split halves the pane it was created from.
- Type
boolean- Default
false
app.preferredEditorCustom editor command used when Cmd-click file previews are disabled or a file is unsupported. Leave empty to use the default.
- Type
string- Default
""
app.defaultWorkspacePathFolder the Open Folder panel starts in, for example ~/code. Supports a leading ~. Leave empty to start in the active workspace's directory.
- Type
string- Default
""
app.openSupportedFilesInCmuxWhen enabled, Cmd-clicking readable local files opens supported previews in cmux, including text, code, PDFs, images, audio, video, and Quick Look files. Preview headers include an Open With menu based on the user's default and compatible macOS apps for that file.
- Type
boolean- Default
true
app.openMarkdownInCmuxViewerWhen enabled, Cmd-clicking .md/.markdown/.mkd/.mdx files opens the rendered cmux markdown viewer panel (with live reload) instead of the generic file preview.
- Type
boolean- Default
true
app.globalFontMagnificationPercentage zoom for everything cmux draws itself: terminal text, tab titles, sidebars, Settings, overlays, and window chrome. Web pages inside browser surfaces keep their own size.
- Type
integer- Default
100
app.reorderOnNotificationAutomatic workspace reordering. true or "notifications" moves workspaces with new notifications toward the top. "agentActivity" also moves them when a prompt is sent or an agent finishes a turn, needs input, or fails, at most once per burst and never while the pointer is over the sidebar. false or "off" keeps the order stable.
- Type
boolean | string- Default
true
app.iMessageModeMove a workspace to the top and show the submitted message when sending an agent prompt.
- Type
boolean- Default
false
app.sendAnonymousTelemetryAllow anonymous telemetry.
- Type
boolean- Default
true
app.confirmQuitControl when cmux asks for confirmation before quitting. DEV builds always quit immediately regardless of this setting. Legacy app.warnBeforeQuit is still accepted as a boolean fallback.
- Type
string- Default
"always"- Allowed values
always, dirty-only, never
app.warnBeforeQuitLegacy boolean fallback for quit confirmation. Use app.confirmQuit for new configs.
- Type
boolean- Default
true
app.warnBeforeClosingTabShow a confirmation before closing a tab.
- Type
boolean- Default
true
app.warnBeforeClosingAgentSessionShow a confirmation before closing an agent session while it is mid-turn.
- Type
boolean- Default
true
app.warnBeforeClosingTabXButtonShow a confirmation before closing a tab with the tab close button.
- Type
boolean- Default
false
app.warnBeforeClosingWorkspaceShow a confirmation before closing a workspace with a running process, or several workspaces at once. Pinned workspaces still ask when this is off.
- Type
boolean- Default
true
app.warnBeforeClosingWindowShow a confirmation before closing a window with a running process, or all of a window's workspaces at once.
- Type
boolean- Default
true
app.hideTabCloseButtonHide tab close buttons in the pane tab bar.
- Type
boolean- Default
false
app.tabBarVisibilityDecide when a pane draws its tab bar. "always" draws it even for a pane holding one tab; "multiple-tabs" hides it while a pane holds one tab and draws it once a second tab opens. Minimal mode (app.minimalMode) always draws it, because there the top pane's tab bar doubles as the window titlebar.
- Type
string- Default
"always"- Allowed values
always, multiple-tabs
app.renameSelectsExistingNameSelect the current name when opening rename flows.
- Type
boolean- Default
true
app.commandPaletteSearchesAllSurfacesSearch every surface in the command palette switcher instead of only the active workspace.
- Type
boolean- Default
false
terminal
Terminal presentation settings from Settings > Terminal.
terminal.adaptiveDefaultThemeWhen true (the default), cmux supplies an appearance-adaptive default palette unless a Ghostty theme or terminal colors are configured. Font and other settings are preserved. When false, Ghostty uses its fixed built-in palette. Explicit themes and colors always take precedence, including theme = light:X,dark:Y.
- Type
boolean- Default
true
terminal.showScrollBarShow the right-edge terminal scroll bar when scrollback is available. cmux automatically suppresses it for alternate-screen style TUI surfaces.
- Type
boolean- Default
true
terminal.scrollSpeedScales how far the terminal moves for each mouse-wheel or trackpad scroll event. Values above 1 speed scrolling up and values below 1 slow it down.
- Type
number- Default
1
terminal.sessionContentMaxWidthOptional maximum width, in points, for terminal and built-in agent chat content. Set false to use the full pane width.
- Type
boolean | number- Default
false
terminal.sessionContentAlignmentHorizontal placement for terminal and built-in agent chat content when sessionContentMaxWidth is enabled.
- Type
string- Default
"center"- Allowed values
left, center, right
terminal.copyOnSelectWhen true, copy selected terminal text to the system clipboard when the selection is committed. When false, cmux does not emit a Ghostty copy-on-select override; Ghostty config and defaults control selection-clipboard behavior.
- Type
boolean- Default
false
terminal.showCopyConfirmationBriefly show "Copied to clipboard" at the bottom of a terminal after selecting text copies it. Applies whether copyOnSelect or Ghostty's copy-on-select turned copying on. Copies made with a keyboard shortcut or by a program (OSC 52) never show it.
- Type
boolean- Default
false
terminal.reflowHardWrapOnCopyWhen true, copying terminal text also joins a line that exactly fills the terminal width onto the next line, undoing hard wraps a program inserted at the grid edge. Soft-wrapped rows are always joined.
- Type
boolean- Default
false
terminal.confirmUnsafePasteWhen true, a paste that Ghostty's clipboard-paste-protection flags as unsafe (for example, text with a line break going to a program that has not enabled bracketed paste) waits for confirmation in a sheet attached to the terminal's window. When false, cmux pastes it without asking. OSC 52 clipboard reads are not affected.
- Type
boolean- Default
false
terminal.textEditingGesturesReplay macOS text-editing gestures as line-editor keys at the shell prompt: Command and Option arrow keys move by line and word, and Command and Option Delete kill by line and word. While a full-screen application (vim, less, htop, tmux) has the terminal on the alternate screen, it gets the keys as if gestures were off, unless textEditingGesturesInFullScreenApps is on. Ghostty's own bindings still apply there, so Command+Left sends Ctrl+A and Option+Left sends Esc b.
- Type
boolean- Default
false
terminal.textEditingCommandMovesByWordWith textEditingGestures on, switch to a browser-style layout: Command arrow and Delete keys move and delete by word, like Option, and Control+Left/Right move to the start and end of the line. Every other Control chord, including Ctrl+W and Ctrl+C, still reaches the terminal. macOS reserves Control+Left/Right for switching Spaces by default; turn those off in System Settings > Keyboard > Keyboard Shortcuts > Mission Control for Control+arrows to reach cmux.
- Type
boolean- Default
false
terminal.textEditingGesturesInFullScreenAppsKeep textEditingGestures active while a full-screen application has the terminal on the alternate screen. tmux, screen, and zellij keep the outer terminal on the alternate screen even at their shell prompt, so turn this on to use gestures inside a multiplexer. Applications that bind the gesture chords themselves then receive the translated keys.
- Type
boolean- Default
false
terminal.showPasswordInputIndicatorShow a lock badge in the terminal corner while the foreground program has turned echo off for a password prompt (sudo, ssh, passwd, gpg). cmux draws the badge itself and never changes terminal text. Only prompts on the local terminal are detected: an ssh password prompt counts, but sudo run inside an ssh session does not. Changes apply to an open prompt at once.
- Type
boolean- Default
true
terminal.showPasswordInputDotsWhen the password input badge is shown, also draw one dot per typed character. cmux keeps only a count, never the typed characters. Backspace removes a dot; Enter or echo turning back on clears them. Pasted text is not counted.
- Type
boolean- Default
false
terminal.showJumpToBottomButtonRemoved. cmux no longer shows a Jump to Bottom button in terminal panes, and ignores this key. It stays in the schema so existing configs still validate.
- Type
boolean- Default
none
terminal.predictiveLocalEchoDraw typed characters immediately in a terminal whose shell runs on another machine (cmux ssh, Cloud, remote tmux) when the link is slow, underlined until the remote echo confirms them, and withdraw them if the remote disagrees. Local terminals, password prompts and full-screen apps are excluded.
- Type
boolean- Default
true
terminal.autoResumeAgentSessionsAutomatically run agent resume commands for restored terminal sessions when cmux reopens after quit. Set false to restore panes while keeping Claude Code, Codex, OpenCode, and other saved agent sessions idle until you resume them manually.
- Type
boolean- Default
true
terminal.showTextBoxOnNewTerminalsShow the TextBox input by default for newly created workspaces, terminal tabs, and terminal splits.
- Type
boolean- Default
false
terminal.focusTextBoxOnNewTerminalsFocus the TextBox input by default for newly created workspaces, terminal tabs, and terminal splits. Focusing also shows the TextBox.
- Type
boolean- Default
false
terminal.agentHibernationRoutine Agent Hibernation settings. cmux kills idle background agent processes to free RAM and CPU, then resumes them with their saved session when their tab is visited. Routine hibernation requires a restorable coding agent whose lifecycle reports idle, an off-screen terminal, a live-terminal count above the configured limit, and unchanged output through the idle and confirmation windows. Independently, under memory pressure (critical pressure from macOS or from the cmux app's own footprint, or cmux's total memory use past its aggregate warning threshold) cmux may hibernate every safe idle background agent even when enabled is false; visible, running, needs-input, recently changed, and unprotectable agents remain excluded. The placeholder Resume button is a manual fallback.
- Type
object- Default
none
terminal.rendererRealizationReclaim off-screen terminal GPU renderer memory. cmux releases the Metal renderer (IOSurface) of a terminal that has stayed off-screen and idle while keeping its process and terminal state alive, then rebuilds the renderer instantly when the tab is visited again. Non-destructive and on by default.
- Type
object- Default
none
terminal.titleUpdatesTerminal title update throttling and diagnostics.
- Type
object- Default
none
terminal.runawayMemoryGuardrailPer-pane process-tree memory monitoring.
- Type
object- Default
none
terminal.textBoxMaxLinesMaximum number of lines the rich terminal TextBox input can grow to before it scrolls.
- Type
integer- Default
10
terminal.textBoxDefaultSubmitActionDefault TextBox submit action ID for new terminal sessions. Use text-entry for plain input or one of the configured action IDs.
- Type
string- Default
"text-entry"
terminal.textBoxSubmitActionsConfigurable TextBox submit actions shown on the submit button, Shift-Tab cycle, and right-click menu.
- Type
array<object>- Default
[]
terminal.resumeCommandsSigned command-prefix approvals for restoring non-agent terminal surfaces. cmux writes this list when you approve a surface resume command.
- Type
array<object>- Default
[]
terminal.uploadCommandsHost-scoped rules that replace the built-in scp for terminal file drops and pastes over SSH. When the ssh destination matches a rule, cmux runs that rule's command once per file instead of scp, and inserts the command's stdout at the cursor (verbatim, with control characters stripped); if the command prints nothing, cmux inserts the shell-escaped remote path it chose instead. Per-file outputs are space-joined. First matching enabled rule wins; no match runs the built-in scp unchanged. A non-zero exit, timeout, or cancel inserts nothing.
- Type
array<object>- Default
[]
notifications
Notification behavior from Settings > Notifications.
notifications.dockBadgeShow the unread count in the Dock tile.
- Type
boolean- Default
true
notifications.showInMenuBarShow the menu bar extra.
- Type
boolean- Default
true
notifications.unreadPaneRingHighlight panes with unread notifications.
- Type
boolean- Default
true
notifications.paneFlashFlash the focused pane when requested.
- Type
boolean- Default
true
notifications.paneFlashDoubleBlinkBlink the pane flash twice instead of one short pulse.
- Type
boolean- Default
true
notifications.paneFlashOnTypingFlash the pane when terminal typing dismisses its notification.
- Type
boolean- Default
true
notifications.paneFlashThemeColorUse the terminal theme foreground for flashes when paneFlashColor is unset. Unread rings remain cmux blue.
- Type
boolean- Default
false
notifications.paneFlashColorOverride the pane flash and unread notification ring color. Leave unset to use the accent from app.accentColor.
- Type
unknown- Default
null
notifications.soundWhenFocusedPlay the notification sound even when the pane that notified is already focused. Off by default, so a focused pane shows only its ring and flash.
- Type
boolean- Default
false
notifications.suppressOnlyFocusedSurfaceWhen enabled, a notification banner is auto-withdrawn only when its surface is the exact focused surface. A banner delivered for a non-focused surface in the currently visible workspace stays up until you focus that surface (or click/dismiss it), instead of being retracted when the workspace becomes visible. Off preserves the legacy workspace-visibility withdraw.
- Type
boolean- Default
false
notifications.suppressWhenAppFocusedWhen enabled, cmux skips the desktop banner for every notification while cmux is the active app, not only for the focused pane. Notifications still appear in the sidebar, the sound and custom command still run, and phone forwarding is unchanged. Off keeps showing banners for other workspaces and panes while cmux is focused.
- Type
boolean- Default
false
notifications.agentPermissionPromptNotify when an agent (e.g. Claude Code) is blocked waiting for your permission to run a tool. On by default, since this is the alert you must act on to unblock the agent.
- Type
boolean- Default
true
notifications.agentTurnCompleteWhen to notify that an agent finished a turn. whenIdle (default) suppresses the notification while the agent still has a running background task or a pending scheduled wakeup, so you are pinged once work truly drains. always notifies on every turn end; never disables it.
- Type
string- Default
"whenIdle"- Allowed values
whenIdle, always, never
notifications.agentIdleReminderNotify when an agent has been idle waiting for your input (about 60s after a turn ends). Suppressed while background work from the last turn is still pending, so a running build or watcher does not trigger a false waiting alert.
- Type
boolean- Default
true
notifications.soundNotification sound preset.
- Type
string- Default
"default"- Allowed values
default, Basso, Blow, Bottle, Frog, Funk, Glass, Hero, Morse, Ping, Pop, Purr, Sosumi, Submarine, Tink, custom_file, none
notifications.customSoundFilePathLocal path to the custom notification sound file.
- Type
string- Default
""
notifications.soundOverridesSparse per-agent and per-alert-type notification sound overrides. Missing cells use notifications.sound.
- Type
object- Default
{}
notifications.commandOptional shell command to run alongside notification delivery.
- Type
string- Default
""
notifications.hooksModeControls whether project-local notification hooks append to inherited hooks or replace them.
- Type
string- Default
"append"- Allowed values
append, replace
notifications.hooksComposable shell hooks that receive notification policy JSON on stdin and return updated policy JSON on stdout.
- Type
array<object>- Default
[]
sidebar
Sidebar content and metadata visibility from Settings > Sidebar.
sidebar.fontSizeSidebar font size in points. The legacy Ghostty key sidebar-font-size remains a fallback alias.
- Type
number- Default
12.5
sidebar.hideAllDetailsHide all per-workspace detail rows.
- Type
boolean- Default
false
sidebar.wrapWorkspaceTitlesAllow workspace titles in the sidebar to wrap to multiple lines instead of truncating after one line.
- Type
boolean- Default
false
sidebar.showWorkspaceDescriptionShow custom workspace descriptions in the sidebar.
- Type
boolean- Default
true
sidebar.workspaceDescriptionColorOverride the workspace description text color in the sidebar.
- Type
unknown- Default
null
sidebar.betaExperimental sidebar features.
- Type
object- Default
none
sidebar.branchLayoutShow git branch details stacked vertically or inline.
- Type
string- Default
"vertical"- Allowed values
vertical, inline
sidebar.branchVerticalLayoutShow git branch details stacked vertically when true, or inline when false. This boolean form is the canonical setting; branchLayout remains supported as a legacy alias.
- Type
boolean- Default
true
sidebar.stackBranchDirectoryRender the git branch and working directory on separate lines instead of sharing one line.
- Type
boolean- Default
false
sidebar.pathLastSegmentOnlyTruncate sidebar paths from the start, showing as much of the trailing path as fits with a leading …/. When false, full paths are abbreviated with ~/.
- Type
boolean- Default
false
sidebar.showNotificationMessageShow the latest notification text in the sidebar.
- Type
boolean- Default
true
sidebar.notificationMessageLineLimitMaximum lines shown for the latest notification below each workspace title.
- Type
integer- Default
12
sidebar.showBranchDirectoryShow the workspace working directory.
- Type
boolean- Default
true
sidebar.showCloudDeviceIconsShow Cloud machine and device icons beside remote workspace titles independently of Git branch and directory details.
- Type
boolean- Default
true
sidebar.showPullRequestsShow pull request metadata in the sidebar.
- Type
boolean- Default
true
sidebar.watchGitStatusWatch repository files for sidebar branch and pull request metadata without polling git.
- Type
boolean- Default
true
sidebar.makePullRequestsClickableAllow sidebar pull request metadata to open links when clicked.
- Type
boolean- Default
true
sidebar.openPullRequestLinksInCmuxBrowserOpen sidebar pull request links in the embedded cmux browser.
- Type
boolean- Default
true
sidebar.openPortLinksInCmuxBrowserOpen sidebar port links in the embedded cmux browser.
- Type
boolean- Default
true
sidebar.showSSHShow SSH connection details.
- Type
boolean- Default
true
sidebar.showPortsShow listening ports.
- Type
boolean- Default
true
sidebar.showLogShow recent log snippets.
- Type
boolean- Default
true
sidebar.showProgressShow progress indicators.
- Type
boolean- Default
true
sidebar.showAgentUsageAppend coding-agent usage to the Claude Code or Codex status entry: model and context window used, plus for Claude Code an estimated API cost (main thread and subagents) at published Anthropic list prices. The cost is an estimate, not your subscription bill; batch/priority tiers, partner pricing, fast mode and server-tool fees are not modelled.
- Type
boolean- Default
false
sidebar.showAgentActivityShow the loading spinner on workspaces with running coding agents or active loaders.
- Type
boolean- Default
true
sidebar.loadingSpinnerPositionWhich side of the workspace row the loading spinner appears on: leading (left, sharing the unread-badge slot) or trailing (right).
- Type
string- Default
"leading"- Allowed values
leading, trailing
sidebar.notificationBadgePositionWhich side of the workspace row the unread notification badge appears on: leading (left) or trailing (right).
- Type
string- Default
"leading"- Allowed values
leading, trailing
sidebar.showCustomMetadataShow custom metadata pills.
- Type
boolean- Default
true
sidebar.compactAgentStatusShow each workspace on one line: one colored icon before the title for agent, unread, and pull request state replaces the agent status rows (for example Running or Needs input), the branch and directory line, and the pull request rows, whose details move to the icon's tooltip. Other status entries keep their rows.
- Type
boolean- Default
false
sidebar.compactStatusIconsSF Symbol names that replace the compactAgentStatus glyph for each state, for example {"terminal": "apple.terminal", "needsInput": "hand.raised.fill"}. Unset states keep the built-in symbol, and a name that does not render falls back to it.
- Type
object- Default
{}
sidebar.activeTabIndicatorStyleActive workspace indicator style in the sidebar.
- Type
string- Default
"leftRail"- Allowed values
leftRail, solidFill, rail, border, wash, lift, typography, washRail, blueWashColorRail
sidebar.selectionColorOverride the selected workspace background color in the sidebar.
- Type
unknown- Default
null
sidebar.notificationBadgeColorOverride the unread notification badge color in the sidebar.
- Type
unknown- Default
null
sidebar.rightMaxWidthMaximum width in points for the right sidebar. When omitted, the built-in dynamic cap applies.
- Type
number- Default
none
workspaceGroups
Per-cwd customization for sidebar workspace groups. The anchor workspace's cwd is matched against the keys in `byCwd`; longest-match wins. Keys containing `*` or `?` are matched as fnmatch globs (with `~` expanded); other keys are path prefixes.
workspaceGroups.newWorkspacePlacementGlobal default for where Cmd-N inside a group, the group header + button, and configured group actions place the new workspace: `afterCurrent` (after the active in-group workspace, falling back to top), `top` (second slot, just after the anchor), or `end` (after the last member).
- Type
string- Default
"afterCurrent"- Allowed values
afterCurrent, top, end
workspaceGroups.byCwdMap of cwd patterns to group customization. Empty when omitted.
- Type
object- Default
none
workspaceColors
Workspace tab and badge colors from Settings > Workspace Colors.
workspaceColors.indicatorStyleActive workspace indicator style. Legacy aliases are accepted and normalized.
- Type
string- Default
"leftRail"- Allowed values
leftRail, solidFill, rail, border, wash, lift, typography, washRail, blueWashColorRail
workspaceColors.selectionColorOverride the selected workspace background color.
- Type
unknown- Default
null
workspaceColors.subtleSelectionShow the selected workspace as a faint accent tint with a thin edge instead of a solid fill. A custom selectionColor still uses a solid fill.
- Type
boolean- Default
false
workspaceColors.brightenInDarkModeLighten workspace colors in dark mode so they stay readable on a dark sidebar. false shows colors exactly as chosen. Applies to the solidFill indicator; leftRail always lightens its rail.
- Type
boolean- Default
true
workspaceColors.notificationBadgeColorOverride the unread notification badge color.
- Type
unknown- Default
null
workspaceColors.colorsFull named workspace color palette. Include built-in entries you want to keep, remove keys to remove colors, and add more named entries to extend the picker.
- Type
object- Default
{ "Red": "#C0392B", "Crimson": "#922B21", "Orange": "#A04000", "Amber": "#7D6608", "Olive": "#4A5C18", "Green": "#196F3D", "Teal": "#006B6B", "Aqua": "#0E6B8C", "Blue": "#1565C0", "Navy": "#1A5276", "Indigo": "#283593", "Purple": "#6A1B9A", "Magenta": "#AD1457", "Rose": "#880E4F", "Brown": "#7B3F00", "Charcoal": "#3E4B5E" }
workspaceColors.paletteOverridesLegacy workspace color overrides for built-in palette names. Prefer workspaceColors.colors for new configs.
- Type
object- Default
{}
workspaceColors.customColorsLegacy list of custom workspace colors. Prefer workspaceColors.colors for new configs.
- Type
array<unknown>- Default
[]
workspaceColors.colors is the full palette. Keep the built-in keys you want, delete keys to remove colors from the picker, and add more named color entries to extend it. Older paletteOverrides and customColors files still parse during upgrades, but new files should use colors.
{
"workspaceColors": {
"colors": {
"Red": "#C0392B",
"Blue": "#1565C0",
"Neon Mint": "#00F5D4"
}
}
}sidebarAppearance
Sidebar tint settings from Settings > Sidebar Appearance.
sidebarAppearance.matchTerminalBackgroundUse the terminal background instead of the sidebar tint.
- Type
boolean- Default
true
sidebarAppearance.tintColorBase sidebar tint color used when light/dark overrides are not set.
- Type
unknown- Default
"#000000"
sidebarAppearance.lightModeTintColorSidebar tint override for light appearance.
- Type
unknown- Default
null
sidebarAppearance.darkModeTintColorSidebar tint override for dark appearance.
- Type
unknown- Default
null
sidebarAppearance.tintOpacitySidebar tint opacity from 0 to 1. Note: this only controls the sidebar tint, not terminal/window transparency. For terminal background transparency or blur, set `background-opacity` and `background-blur` in `~/.config/ghostty/config` and run `cmux reload-config`.
- Type
number- Default
0.18
automation
Socket control and automation settings from Settings > Automation.
automation.socketControlModeSocket control mode. Legacy aliases are accepted and normalized.
- Type
string- Default
"cmuxOnly"- Allowed values
off, cmuxOnly, automation, password, allowAll, openAccess, fullOpenAccess, notifications, full
automation.socketPasswordPassword for password-mode socket access. Use null or an empty string to clear it.
- Type
string | null- Default
""
automation.claudeCodeIntegrationEnable cmux integration hooks for Claude Code.
- Type
boolean- Default
true
automation.codexIntegrationEnable cmux integration hooks for Codex. When disabled, cmux no longer wraps the codex command but still tracks live Codex sessions it can observe.
- Type
boolean- Default
true
automation.canonicalAgentScratchUse a cmux-owned scratch directory for native agent panels, organized per session.
- Type
boolean- Default
false
automation.piIntegrationEnable cmux integration hooks for Pi.
- Type
boolean- Default
true
automation.claudeBinaryPathCustom path to the claude binary.
- Type
string- Default
""
automation.workspaceAutoNamingOpt-in AI auto-naming of workspaces and tabs from agent conversation content. When enabled, cmux summarizes supported agent sessions into short titles using each agent's own binary; manual renames always win.
- Type
boolean- Default
false
automation.autoNamingAgentWhich agent generates auto-names for every session. "auto" (default) names each session with its own agent; any agent slug (claude, codex, grok, opencode, pi, omp, …) overrides naming for all sessions, even other agents' sessions. Undriveable or uninstalled agents fall back to the session's own agent, so naming never breaks.
- Type
string- Default
"auto"
automation.ripgrepBinaryPathCustom path to the ripgrep (rg) binary used by project search.
- Type
string- Default
""
automation.suppressSubagentNotificationsSuppress visible completion notifications and status mutations from nested Codex or Claude child agents while keeping their events in Feed telemetry.
- Type
boolean- Default
true
automation.agentAutoResumeSend `continue` to a cmux-launched agent whose turn ended on a retryable upstream error (model at capacity, overloaded, or connection lost), with backoff. Turns waiting on a human are never resumed.
- Type
boolean- Default
true
automation.ampIntegrationTurns the cmux hooks for Amp on or off. Turning them off leaves the bundled plugin installed but idle.
- Type
boolean- Default
true
automation.cursorIntegrationEnable cmux integration hooks for Cursor.
- Type
boolean- Default
true
automation.geminiIntegrationEnable cmux integration hooks for Gemini.
- Type
boolean- Default
true
automation.kiroIntegrationEnable cmux integration hooks for Kiro CLI.
- Type
boolean- Default
true
automation.kiroNotificationLevelControls how many Kiro tool events appear in Feed.
- Type
string- Default
"standard"- Allowed values
minimal, standard, verbose
automation.portBaseStarting value for workspace CMUX_PORT assignments.
- Type
integer- Default
9100
automation.portRangeNumber of ports reserved per workspace.
- Type
integer- Default
10
ui
UI action wiring, including surface tab bar buttons and plus-button behavior. The plus-button context menu shows ui.newWorkspace.contextMenu (or the default items) followed by actions that opt in via newWorkspaceMenu.
ui.newWorkspaceNew Workspace button behavior and context-menu wiring.
- Type
object- Default
none
agentChat
Agent Chat GUI server settings. The built-in New agent chat action opens this URL in a browser workspace, probes /healthz first, and can run a configured start command when the server is down.
agentChat.urlBase URL for the machine-local Agent Chat GUI server. cmux probes <url>/healthz before opening the workspace.
- Type
string- Default
"http://127.0.0.1:7739"
agentChat.startCommandOptional shell command to start the Agent Chat server when <url>/healthz is unreachable. cmux runs it detached with the user's SHELL, polls healthz for a short bounded window, then opens the workspace either way.
- Type
string- Default
none
agentChat.keysKeyboard behavior overrides for the Agent Chat web UI.
- Type
object- Default
none
agentChat.fontsFont overrides for the Agent Chat web UI. Omitted values fall back to Ghostty and built-in defaults.
- Type
object- Default
none
browser
Embedded browser settings from Settings > Browser.
browser.defaultSearchEngineDefault search engine for non-URL browser address bar queries. Use custom with customSearchEngineURLTemplate for arbitrary providers.
- Type
string- Default
"google"- Allowed values
google, duckduckgo, bing, kagi, startpage, brave, perplexity, exa, yahoo, ecosia, qwant, mojeek, wikipedia, github, baidu, yandex, custom
browser.customSearchEngineNameDisplay name used when defaultSearchEngine is custom.
- Type
string- Default
""
browser.customSearchEngineURLTemplateSearch URL used when defaultSearchEngine is custom. Include the query placeholder or %s for the encoded query. If omitted, cmux appends q= to the URL.
- Type
string- Default
"https://www.google.com/search?q={query}"
browser.showSearchSuggestionsShow omnibar search suggestions.
- Type
boolean- Default
true
browser.themeEmbedded browser theme.
- Type
string- Default
"system"- Allowed values
system, light, dark
browser.defaultZoomLevelDefault page zoom factor applied to newly opened browser pages (1 = 100%). Zoom In, Zoom Out, and Actual Size still adjust each page.
- Type
number- Default
1
browser.discardHiddenWebViewsAllow hidden browser tabs to release page memory. Scroll position, supported form input, and history are restored when recoverable.
- Type
boolean- Default
true
browser.hiddenWebViewDiscardModeHow cmux picks hidden browser tabs to free. budget frees the tabs hidden longest once hidden tabs use more than hiddenWebViewMemoryBudgetMB; timer frees every tab hidden longer than hiddenWebViewDiscardDelaySeconds.
- Type
string- Default
"budget"- Allowed values
budget, timer
browser.hiddenWebViewMemoryBudgetMBMegabytes of memory hidden browser tabs may use before cmux frees the tabs hidden longest. Applies when hiddenWebViewDiscardMode is budget.
- Type
integer- Default
2048
browser.hiddenWebViewDiscardDelaySecondsSeconds a browser tab must stay hidden before cmux may free its page memory. In timer mode, every tab hidden this long is freed.
- Type
number- Default
300
browser.autoRestoreUnloadedPagesRestore a browser page unloaded to save memory, or whose web process ended while hidden, as soon as its tab is shown. When false, the tab shows the page's last snapshot until you click Restore.
- Type
boolean- Default
true
browser.askWhereToSaveDownloadsShow a save panel for browser downloads instead of saving directly to Downloads.
- Type
boolean- Default
false
browser.showLinkHoverURLShow a link's destination at the bottom-left of a browser pane while the pointer is over the link or the link has keyboard focus.
- Type
boolean- Default
true
browser.openTerminalLinksInCmuxBrowserOpen clicked terminal links in the embedded browser.
- Type
boolean- Default
true
browser.interceptTerminalOpenCommandInCmuxBrowserIntercept terminal open http(s) commands and route them through the embedded browser.
- Type
boolean- Default
true
browser.hostsToOpenInEmbeddedBrowserAllowlist of hosts that should stay inside the embedded browser.
- Type
array<string>- Default
[]
browser.urlsToAlwaysOpenExternallyRules that always open matching URLs in the system browser.
- Type
array<string>- Default
[]
browser.insecureHttpHostsAllowedInEmbeddedBrowserHTTP hosts allowed in the embedded browser without a warning prompt.
- Type
array<string>- Default
[ "localhost", "*.localhost", "127.0.0.1", "::1", "0.0.0.0", "*.localtest.me" ]
browser.urlAllowlistHost or URL patterns that restrict embedded-browser navigation. The Settings UI suggests local development origins; saving a list opts into the optional restriction. Remove entries to block them, or leave the user value empty to disable it when no managed policy applies.
- Type
array<string>- Default
[ "localhost", "*.localhost", "127.0.0.1", "::1", "0.0.0.0", "*.localtest.me" ]
browser.showImportHintOnBlankTabsShow the browser import hint on blank tabs.
- Type
boolean- Default
true
browser.reactGrabVersionPinned react-grab version for the browser toolbar helper.
- Type
string- Default
"0.1.29"
markdown
Built-in markdown viewer settings.
markdown.fontSizeDefault body font size, in points, for newly opened markdown viewers. Zoom a viewer live with Cmd-+ / Cmd-- / Cmd-0.
- Type
integer- Default
15
markdown.fontFamilyDefault body font family for newly opened markdown viewers. Leave empty for the system markdown font stack.
- Type
string- Default
""
markdown.maxWidthDefault maximum reading column width, in CSS pixels, for newly opened markdown viewers.
- Type
integer- Default
980
fileEditor
Built-in file editor settings.
fileEditor.wordWrapSoft-wrap lines longer than the editor is wide, so no horizontal scrolling is needed.
- Type
boolean- Default
false
fileEditor.syntaxHighlightingApply language-aware coloring to code opened in the built-in file editor.
- Type
boolean- Default
true
fileEditor.lineNumbersNumber each line in a column beside the text of the built-in file editor.
- Type
boolean- Default
true
fileEditor.indentGuidesMark each indentation level with a thin vertical line in the built-in file editor.
- Type
boolean- Default
true
fileEditor.currentLineHighlightTint the row that holds the caret while nothing is selected.
- Type
boolean- Default
true
fileEditor.tabWidthHow many columns one tab stop spans. Indent guides use the same spacing.
- Type
integer- Default
4
fileExplorer
Right-sidebar file explorer (file tree) settings.
fileExplorer.doubleClickActionWhat double-clicking (or pressing Return on a search result for) a file in the file explorer does. `preview` opens the built-in cmux file preview (the default and historical behavior). `defaultEditor` opens with the macOS default app for the file type. `preferredEditor` opens with the `app.preferredEditor` command, falling back to the default app when none is set. Only applies to files; directories always expand/collapse, and non-local (remote) file explorers always open the cmux preview.
- Type
string- Default
"preview"- Allowed values
preview, defaultEditor, preferredEditor
shortcuts
Keyboard shortcut settings from Settings > Keyboard Shortcuts.
shortcuts.showModifierHoldHintsShow shortcut-hint chips while holding Cmd or Control.
- Type
boolean- Default
true
shortcuts.whenOptional per-action context predicates (VS Code-style `when` clauses), keyed by cmux action id. Each value is a boolean expression over context keys combined with !, &&, ||, and parentheses. Boolean keys: sidebarFocus, browserFocus, markdownFocus, filePreviewTextEditorFocus, simulatorFocus, terminalFocus, commandPaletteVisible, terminalFindVisible, terminalAlternateScreen, workspaceCanvasLayout. Typed keys support comparisons: the string sidebarMode (files, find, sessions, feed, or dock) and the integers paneCount and workspaceCount. Comparison operators are ==, !=, =~ (regex), <, <=, >, >=, and `in [a, b]`; an unknown or absent key reads as false. The boolean literals true and false are also accepted; `key == false` is the same as `!key`. The action's shortcut only fires (and only conflicts with other shortcuts) when the clause holds. Examples: { "selectWorkspaceByNumber": "!sidebarFocus" } selects workspaces with Ctrl+1–9 everywhere except when the right sidebar is focused; { "selectSurfaceByNumber": "sidebarMode == 'find' && paneCount > 1" } scopes a binding to the Find sidebar when the workspace has multiple panes.
- Type
object- Default
{}
shortcuts.bindings
Use a string for a single shortcut, a two-item array for a chord, or null to unbind a shortcut in shortcuts.bindings. Unbind aliases also include empty string (""), none, clear, unbound, and disabled. Example chord: ["ctrl+b", "c"]. Numbered actions use 1 as the stored default and still match digits 1 through 9.
The defaults below are the same cmux-owned actions listed on the keyboard shortcuts page.
App
openSettingsSettings
cmd+,openTeamPickerOpen team picker
opt+shift+cmd+treloadConfigurationReload configuration
cmd+shift+,showHideAllWindowsShow/hide all cmux windowssystem-wide hotkey
ctrl+opt+cmd+.globalSearchGlobal searchwhen cmux is active
opt+cmd+fcommandPaletteCommand palette
cmd+shift+pagentInboxShow agent inbox
cmd+shift+icommandPaletteNextCommand palette next resultwhen the command palette is open
ctrl+ncommandPalettePreviousCommand palette previous resultwhen the command palette is open
ctrl+pnewWindowNew window
cmd+shift+ncloseWindowClose window
ctrl+cmd+wtoggleFullScreenToggle full screen
ctrl+cmd+fsendFeedbackSend feedbackunbound by default
reopenPreviousSessionReopen previous session
cmd+shift+oquitQuit cmux
cmd+qWorkspaces
toggleSidebarToggle left sidebar
cmd+btoggleFileExplorerToggle right sidebar
cmd+opt+bnewTabNew local workspace
cmd+nnewLocalWorkspaceNew local workspaceopens a local workspace while a remote tmux mirror workspace is active, where New Workspace would start a session on that workspace's host instead
ctrl+opt+cmd+nnewBrowserWorkspaceNew browser workspacelike New Workspace, but the first surface is a browser pane with the address bar focused
opt+cmd+nnewCloudWorkspaceNew cloud workspaceuses the most recently selected Cloud workspace's machine, then the first machine in the right-hand sidebar; if no usable machine exists, it opens New Cloud Machine
cmd+ynewCloudMachineNew cloud machine
shift+cmd+ysaveLayoutTemplateSave current workspace layout as a template
ctrl+cmd+sopenFolderOpen folder
cmd+ogoToWorkspaceGo to workspaceworkspace switcher
cmd+pnextSidebarTabNext workspace
ctrl+cmd+]prevSidebarTabPrevious workspace
ctrl+cmd+[nextSidebarTabInGroupNext workspace in groupunbound by default; skips the group anchor and uses window-wide cycling when ungrouped
prevSidebarTabInGroupPrevious workspace in groupunbound by default; skips the group anchor and uses window-wide cycling when ungrouped
moveWorkspaceUpMove workspace up
ctrl+opt+cmd+[moveWorkspaceDownMove workspace down
ctrl+opt+cmd+]focusHistoryBackFocus backFocus Back/Forward use Cmd+[ and Cmd+] outside browser panes; browser Back/Forward use the same defaults inside browser panes. Unbind Focus Back/Forward to let terminal shortcuts handle those keys.
cmd+[focusHistoryForwardFocus forwardFocus Back/Forward use Cmd+[ and Cmd+] outside browser panes; browser Back/Forward use the same defaults inside browser panes. Unbind Focus Back/Forward to let terminal shortcuts handle those keys.
cmd+]focusHistoryLastFocus lastunbound by default; toggles between the current position and the one focus last left, so pressing it twice returns where you started
selectWorkspaceByNumberSelect workspace 1…9
cmd+1renameWorkspaceRename workspace
cmd+shift+reditWorkspaceDescriptionEdit workspace description
opt+cmd+emarkWorkspaceDoneMark workspace as done
cmd+;cycleWorkspaceStatusCycle workspace status one lane forward
cmd+shift+;toggleChecklistItemCompleteToggle the highlighted checklist itemApplies in the focused todo pane or checklist popover.
cmd+enternewWorkspaceGroupNew empty workspace group
ctrl+cmd+ggroupSelectedWorkspacesGroup selected workspaces
cmd+shift+gtoggleFocusedWorkspaceGroupCollapsedCollapse or expand focused workspace group
ctrl+cmd+.focusSidebarFocus the workspace sidebar↑/↓ select workspaces; Return or Esc returns to the terminal
ctrl+cmd+eshowWindowHintsClick by hint: label the window's controlsType a label to click it, Shift+label to right-click; Esc cancels. Preview feature, off by default: turn on Click by Hint in Settings > Beta Features or from the command palette
cmd+jfocusRightSidebarToggle right-sidebar focus
cmd+shift+enavigateRightSidebarRowsNavigate focused sidebar rowsIn Files, H/L collapse and expand folders. Search starts with /.
j / kfileExplorerOpenSelectionOpen selected file or toggle folderfocused file explorer
enterfileExplorerOpenSelectionFinderAliasOpen selected file or toggle folderFinder-style alias for the focused file explorer
cmd+downcloseWorkspaceClose workspace
cmd+shift+wreopenClosedWorkspaceReopen closed workspaceunbound by default
Surfaces
newSurfaceNew surface
cmd+tnextSurfaceNext surface
cmd+shift+]prevSurfacePrevious surface
cmd+shift+[moveSurfaceLeftReorder surface left
opt+cmd+shift+[moveSurfaceRightReorder surface right
opt+cmd+shift+]moveSurfaceToPreviousPaneMove surface to previous pane
ctrl+cmd+shift+[moveSurfaceToNextPaneMove surface to next pane
ctrl+cmd+shift+]moveSurfaceToPaneLeftMove surface to pane on left
opt+cmd+shift+leftmoveSurfaceToPaneRightMove surface to pane on right
opt+cmd+shift+rightmoveSurfaceToPaneUpMove surface to pane above
opt+cmd+shift+upmoveSurfaceToPaneDownMove surface to pane below
opt+cmd+shift+downselectSurfaceByNumberSelect surface 1…9
ctrl+1renameTabRename tab
cmd+rcloseTabClose tab
cmd+wcloseOtherTabsInPaneClose other tabs in pane
opt+cmd+treopenClosedBrowserPanelReopen last closed
cmd+shift+ttoggleTerminalCopyModeToggle terminal copy mode
cmd+shift+mclearScreenKeepScrollbackClear screen (keep scrollback)
cmd+shift+ksimulatorHomeSimulator: Homefocused Simulator
cmd+shift+hsimulatorRotateLeftSimulator: rotate leftfocused Simulator
cmd+leftsimulatorRotateRightSimulator: rotate rightfocused Simulator
cmd+rightsimulatorToggleAppearanceSimulator: toggle appearancefocused Simulator
cmd+shift+asimulatorToggleSoftwareKeyboardSimulator: toggle software keyboardfocused Simulator
cmd+kfocusTextBoxInputSwitch focus between terminal and TextBox input
cmd+shift+acycleTextBoxSubmitActionCycle TextBox submit action
shift+tabattachTextBoxFileAttach file to TextBox input
opt+cmd+shift+asendCtrlFToTerminalSend Ctrl-F to terminalunbound by default; forwards Ctrl-F to the focused terminal (Claude Code: invoke twice to force-stop hung background agents)
sizeTerminalToMyWindowSize shared terminal to my windowwhen a terminal is shared with phones or other clients, makes this Mac's window set its grid
ctrl+opt+cmd+=pasteLastScreenshotPaste last screenshotunbound by default; inserts the path of the newest screenshot in the macOS screenshot folder (Desktop unless changed) into the focused terminal, uploading it first in remote workspaces
saveFilePreviewSave file previewfocused text preview
cmd+stoggleFileEditorWordWrapToggle File Editor Word Wrapfocused file editor
opt+zSplit Panes
focusLeftFocus pane left
opt+cmd+leftfocusRightFocus pane right
opt+cmd+rightfocusUpFocus pane up
opt+cmd+upfocusDownFocus pane down
opt+cmd+downfocusPreviousPaneFocus previous pane (cycle)unbound by default; a Ghostty goto_split:previous keybind also cycles panes while Focus Back does not claim the same keys
focusNextPaneFocus next pane (cycle)unbound by default; a Ghostty goto_split:next keybind also cycles panes while Focus Forward does not claim the same keys
focusPaneByNumberFocus pane 1…9
ctrl+cmd+1splitRightSplit right
cmd+dsplitDownSplit down
cmd+shift+dnewPaneAutoLayoutNew pane (auto layout)retiles all panes like Zellij and cmux-tui Alt-n: the right column fills to four panes before a new column opens
ctrl+cmd+nsplitBrowserRightSplit browser right
opt+cmd+dsplitBrowserDownSplit browser down
opt+cmd+shift+dtoggleSplitZoomToggle pane zoom
cmd+shift+enterincreaseWorkspaceTerminalFontSizeIncrease font size for every terminal in the selected workspace
ctrl+cmd+=decreaseWorkspaceTerminalFontSizeDecrease font size for every terminal in the selected workspace
ctrl+cmd+-resetWorkspaceTerminalFontSizeReset font size for every terminal in the selected workspace
ctrl+cmd+0equalizeSplitsEqualize split sizes
ctrl+cmd+shift+=resize-pane-leftResize pane left
ctrl+shift+hresize-pane-rightResize pane right
ctrl+shift+lresize-pane-upResize pane up
ctrl+shift+kresize-pane-downResize pane down
ctrl+shift+jCanvas
toggleCanvasLayoutToggle canvas layout
ctrl+cmd+ccanvasRevealFocusedPaneReveal focused pane
ctrl+cmd+rcanvasOverviewToggle overview zoom
ctrl+cmd+ocanvasZoomInZoom in
opt+cmd+=canvasZoomOutZoom out
opt+cmd+-canvasZoomResetActual size
cmd+0canvasTidyTidy panes into a grid
ctrl+cmd+tBrowser
openBrowserOpen browser
cmd+shift+lfocusBrowserAddressBarFocus address bar
cmd+lbrowserBackBack
cmd+[browserForwardForward
cmd+]browserReloadReload pagefocused browser
cmd+rbrowserHardReloadHard refresh pagefocused browser
cmd+shift+rbrowserZoomInZoom in
cmd+=browserZoomOutZoom out
cmd+-browserZoomResetActual size
cmd+0markdownZoomInMarkdown viewer: zoom infocused markdown viewer
cmd+=markdownZoomOutMarkdown viewer: zoom outfocused markdown viewer
cmd+-markdownZoomResetMarkdown viewer: actual sizefocused markdown viewer
cmd+0toggleBrowserDeveloperToolsToggle browser developer tools
opt+cmd+ishowBrowserJavaScriptConsoleShow browser JavaScript console
opt+cmd+ctoggleBrowserFocusModeEnter browser focus modeGives the focused web page first claim on shortcuts. Press Esc twice to exit.
opt+cmd+entertoggleBrowserDesignModeToggle browser design modeSelect and visually edit elements in the focused browser
ctrl+opt+cmd+dtoggleReactGrabToggle React Grabfocused browser, or the only browser pane when a terminal is focused
cmd+shift+gDiff Viewer
openDiffViewerOpen diff viewer
ctrl+cmd+shift+ddiffViewerScrollDownScroll viewer down one smooth stepfocused diff or Markdown viewer
jdiffViewerScrollUpScroll viewer up one smooth stepfocused diff or Markdown viewer
kdiffViewerScrollHalfPageDownScroll viewer down half a pagefocused diff or Markdown viewer
ctrl+ddiffViewerScrollHalfPageUpScroll viewer up half a pagefocused diff or Markdown viewer
ctrl+udiffViewerScrollDownEmacsScroll viewer down one smooth step (Emacs)focused diff or Markdown viewer
ctrl+ndiffViewerScrollUpEmacsScroll viewer up one smooth step (Emacs)focused diff or Markdown viewer
ctrl+pdiffViewerScrollToBottomScroll diff to bottomfocused diff viewer
shift+gdiffViewerScrollToTopScroll diff to topfocused diff viewer
["g", "g"]diffViewerOpenFileSearchOpen diff file searchfocused diff viewer
/diffViewerNextFileJump to next diff filefocused diff viewer
["]", "f"]diffViewerPreviousFileJump to previous diff filefocused diff viewer
["[", "f"]]diffViewerNextHunkJump to next hunkfocused diff viewer
"n"diffViewerPreviousHunkJump to previous hunkfocused diff viewer
"p"diffViewerToggleViewedToggle viewed on the current filefocused diff viewer
"v"Find
findFind
cmd+ffindInDirectoryFind in directory
cmd+shift+ffindNextFind next
cmd+gfindPreviousFind previous
opt+cmd+ghideFindHide find bar
opt+cmd+shift+fuseSelectionForFindUse selection for find
cmd+eNotifications
showNotificationsShow notifications
cmd+ijumpToUnreadJump to latest unread
cmd+shift+ujumpToLastPromptJump to the surface where you last sent an agent prompt
cmd+shift+btoggleUnreadToggle current item unread state
opt+cmd+umarkOldestUnreadAndJumpNextMark current item as oldest unread and jump to the next latest unread
ctrl+cmd+umarkAllNotificationsReadMark all notifications readunbound by default
clearAllNotificationsClear all notificationsunbound by default
triggerFlashFlash focused panel
cmd+shift+hshortcuts.when
Optional per-action context predicates (VS Code-style when clauses), keyed by cmux action id. A binding only fires — and only conflicts with another binding on the same keystroke — when its clause holds. Omit a clause to keep the action's built-in context. The clause vocabulary:
sidebarFocus,browserFocus,markdownFocus,filePreviewTextEditorFocus,simulatorFocus,terminalFocus,commandPaletteVisible,terminalFindVisible,terminalAlternateScreen,workspaceCanvasLayout— boolean keys. An unknown or absent key reads as false; the literals true and false are also accepted.sidebarMode(files,find,sessions,feed,dock),paneCount,workspaceCount— typed keys for comparisons: the right sidebar's active mode (a string) plus pane and workspace counts (integers).!,&&,||,(…),==,!=,=~,<,<=,>,>=,in [a, b]— boolean operators, typed comparisons, regex match, and list membership. Comparisons bind tighter than && and ||.
For example, this makes Ctrl+1–9 select workspaces everywhere except when the right sidebar is focused (leaving the Ctrl+digit tab shortcuts free for the sidebar's mode switcher), and scopes surface selection to the Find sidebar when the workspace has multiple panes:
"shortcuts": {
"bindings": { "selectWorkspaceByNumber": "ctrl+1" },
"when": {
"selectWorkspaceByNumber": "!sidebarFocus",
"selectSurfaceByNumber": "sidebarMode == 'find' && paneCount > 1"
}
}