#Configuración
cmux lee la configuración de archivos de configuración de Ghostty, ofreciéndole opciones familiares si viene de Ghostty.
#Ubicaciones del archivo de configuración
cmux busca configuración en estas ubicaciones (en orden):
~/.config/ghostty/config~/Library/Application Support/com.mitchellh.ghostty/config
Cree el archivo de configuración si no existe:
mkdir -p ~/.config/ghostty
touch ~/.config/ghostty/config#Configuración de ejemplo
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 = ~/code#cmux.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}",
// "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": {
// // Doble clic en un archivo: preview (predeterminado), defaultEditor (app predeterminada de macOS) o preferredEditor (el comando app.preferredEditor).
// "doubleClickAction": "preview"
// },
// "automation": {
// "suppressSubagentNotifications": true
// },
// "workspaceColors": {
// "colors": {
// "Red": "#C0392B",
// "Blue": "#1565C0",
// "Neon Mint": "#00F5D4"
// }
// },
// "workspaceGroups": {
// "newWorkspacePlacement": "afterCurrent"
// },
// "shortcuts": {
// "bindings": {
// "toggleSidebar": "cmd+b",
// "toggleFileExplorer": "cmd+opt+b",
// "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.appIconDock and app switcher icon style.
- Type
string- Default
"automatic"- Allowed values
automatic, light, dark
app.windowTitleTemplatePlantilla opcional para el título de NSWindow. En blanco conserva el comportamiento de título predeterminado existente de cmux, incluida la alternativa del directorio actual. Marcadores admitidos: {windowId}, {windowToken}, {activeWorkspace}, {activeDirectory}, {defaultTitle}, {appName}.
- 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.forkConversationDefaultDestinationDestino predeterminado de la acción principal Fork Conversation en el menú contextual de la pestaña. El submenú sigue mostrando todos los destinos.
- 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 leave the working directory unset so Ghostty's working-directory setting can provide the default.
- 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
true
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.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.globalFontMagnificationEscala en este porcentaje las terminales, títulos de pestañas, barras laterales, ajustes, superposiciones y chrome de la app que pertenecen a cmux. Se excluye el contenido renderizado de las páginas del navegador.
- Type
integer- Default
100
app.reorderOnNotificationMove workspaces with new notifications toward the top.
- Type
boolean- 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.confirmQuitControla cuándo cmux pide confirmación antes de salir. Las compilaciones DEV siempre se cierran inmediatamente sin importar esta opción. El app.warnBeforeQuit heredado aún se acepta como alternativa booleana.
- Type
string- Default
"always"- Allowed values
always, dirty-only, never
app.warnBeforeQuitAlternativa booleana heredada para la confirmación de salida. Usa app.confirmQuit para configuraciones nuevas.
- Type
boolean- Default
true
app.warnBeforeClosingTabShow a confirmation before closing a tab.
- Type
boolean- Default
true
app.warnBeforeClosingTabXButtonMostrar una confirmación antes de cerrar una pestaña con el botón de cerrar pestaña.
- Type
boolean- Default
false
app.hideTabCloseButtonOcultar los botones de cerrar pestaña en la barra de pestañas del panel.
- Type
boolean- Default
false
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.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.scrollSpeedMultiplicador aplicado a los desplazamientos de la rueda de desplazamiento y del panel táctil en el terminal. Los valores más altos desplazan más rápido y los más bajos, más lento.
- Type
number- Default
1
terminal.copyOnSelectCuando es true, copia el texto seleccionado del terminal al portapapeles del sistema cuando se confirma la selección. Cuando es false, cmux no emite una anulación de copy-on-select de Ghostty; la configuración y los valores predeterminados de Ghostty controlan el comportamiento del portapapeles de selección.
- Type
boolean- Default
false
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.showTextBoxOnNewTerminalsMuestra la entrada TextBox beta de forma predeterminada en espacios de trabajo, pestañas y divisiones de terminal recién creados.
- Type
boolean- Default
false
terminal.focusTextBoxOnNewTerminalsEnfoca la entrada TextBox beta de forma predeterminada en espacios de trabajo, pestañas y divisiones de terminal recién creados. Enfocar también muestra TextBox.
- Type
boolean- Default
false
terminal.agentHibernationOpt-in 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. A terminal is only suspended when it runs a restorable coding agent, the agent lifecycle reports idle, the terminal is off-screen, the live-terminal limit is exceeded, and its output has stayed unchanged for the idle window plus a short confirmation settle window. 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.textBoxMaxLinesMaximum number of lines the rich terminal TextBox input can grow to before it scrolls.
- Type
integer- Default
10
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
[]
#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.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.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.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.branchLayoutShow git branch details stacked vertically or inline.
- Type
string- Default
"vertical"- Allowed values
vertical, inline
sidebar.showNotificationMessageShow the latest notification text in the sidebar.
- Type
boolean- Default
true
sidebar.showBranchDirectoryShow the workspace working directory.
- 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.showCustomMetadataShow custom metadata pills.
- Type
boolean- Default
true
sidebar.rightMaxWidthAncho máximo en puntos para la barra lateral derecha. Si se omite, se aplica el límite dinámico integrado.
- 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.newWorkspacePlacementValor predeterminado global para dónde Cmd-N dentro de un grupo, el botón + del encabezado del grupo y las acciones de grupo configuradas colocan el nuevo workspace: `afterCurrent` (después del workspace activo dentro del grupo, con top como reserva), `top` (segunda posición, justo después del ancla) o `end` (después del último miembro).
- 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.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
false
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.03
#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.claudeBinaryPathCustom path to the claude binary.
- Type
string- Default
""
automation.workspaceAutoNamingNombrado automático opcional de espacios de trabajo y pestañas mediante IA a partir del contenido de la conversación del agente. Cuando está activado, cmux resume las sesiones de agentes compatibles en títulos cortos usando el binario propio de cada agente; los renombrados manuales siempre prevalecen.
- Type
boolean- Default
false
automation.autoNamingAgentQué agente genera los nombres automáticos en cada sesión. «auto» (predeterminado) nombra cada sesión con su propio agente; cualquier identificador de agente (claude, codex, grok, opencode, pi, omp, …) anula el nombrado de todas las sesiones, incluso las de otros agentes. Los agentes no compatibles o no instalados recurren al agente propio de la sesión, por lo que el nombrado nunca falla.
- Type
string- Default
"auto"
automation.ripgrepBinaryPathCustom path to the ripgrep (rg) binary used by project search.
- Type
string- Default
""
automation.suppressSubagentNotificationsSuprime las notificaciones visibles de finalización y los cambios de estado de agentes secundarios anidados de Codex o Claude, manteniendo sus eventos en la telemetría de Feed.
- Type
boolean- Default
true
automation.ampIntegrationHabilita los hooks de integración de cmux para Amp. Cuando está desactivado, el complemento incluido permanece inactivo sin necesidad de eliminarlo.
- 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
#browser
Embedded browser settings from Settings > Browser.
browser.defaultSearchEngineMotor de búsqueda predeterminado para consultas de la barra de direcciones del navegador que no son URL. Usa custom con customSearchEngineURLTemplate para otros proveedores.
- Type
string- Default
"google"- Allowed values
google, duckduckgo, bing, kagi, startpage, brave, perplexity, exa, yahoo, ecosia, qwant, mojeek, wikipedia, github, baidu, yandex, custom
browser.customSearchEngineNameNombre visible usado cuando defaultSearchEngine es custom.
- Type
string- Default
""
browser.customSearchEngineURLTemplateURL de búsqueda usada cuando defaultSearchEngine es custom. Incluye el marcador de consulta o %s para la consulta codificada. Si no hay marcador, cmux añade q= a la 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.discardHiddenWebViewsAllow hidden browser tabs to release page memory and restore when shown again.
- Type
boolean- Default
true
browser.hiddenWebViewDiscardDelaySecondsSeconds a browser tab must stay hidden before cmux frees its page memory.
- Type
number- Default
300
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.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 plain-text file editor settings.
fileEditor.wordWrapWrap long lines at the editor's right edge instead of scrolling horizontally.
- Type
boolean- Default
false
#fileExplorer
Ajustes del explorador de archivos (árbol de archivos) de la barra lateral derecha.
fileExplorer.doubleClickActionQué hace al hacer doble clic (o presionar Return en un resultado de búsqueda) sobre un archivo en el explorador de archivos. `preview` abre la vista previa integrada de archivos de cmux (comportamiento predeterminado e histórico). `defaultEditor` abre con la app predeterminada de macOS para ese tipo de archivo. `preferredEditor` abre con el comando `app.preferredEditor`, con fallback a la app predeterminada cuando no está configurado. Solo aplica a archivos; los directorios siempre se expanden/contraen, y los exploradores de archivos no locales (remotos) siempre abren la vista previa de cmux.
- Type
string- Default
"preview"- Allowed values
preview, defaultEditor, preferredEditor
#shortcuts
Keyboard shortcut settings from Settings > Keyboard Shortcuts.
shortcuts.showModifierHoldHintsMuestra chips de sugerencias de atajos mientras mantienes pulsado Cmd o Control.
- Type
boolean- Default
true
shortcuts.whenPredicados de contexto opcionales por acción (cláusulas `when` al estilo de VS Code), indexados por el id de acción de cmux. Cada valor es una expresión booleana sobre claves de contexto, combinada con !, &&, || y paréntesis. Claves booleanas: sidebarFocus, browserFocus, markdownFocus, terminalFocus, commandPaletteVisible, terminalFindVisible, workspaceCanvasLayout. Las claves tipadas admiten comparaciones: la cadena sidebarMode (files, find, sessions, feed o dock) y los enteros paneCount y workspaceCount. Los operadores de comparación son ==, !=, =~ (expresión regular), <, <=, >, >= e `in [a, b]`; una clave desconocida o ausente se evalúa como false. También se aceptan los literales booleanos true y false; `key == false` equivale a `!key`. El atajo de la acción solo se activa (y solo entra en conflicto con otros atajos) cuando la cláusula se cumple. Ejemplos: { "selectWorkspaceByNumber": "!sidebarFocus" } selecciona espacios de trabajo con Ctrl+1–9 en todas partes excepto cuando la barra lateral derecha tiene el foco; { "selectSurfaceByNumber": "sidebarMode == 'find' && paneCount > 1" } limita una asignación a la barra lateral de búsqueda cuando el espacio de trabajo tiene varios paneles.
- 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+,reloadConfigurationReload configuration
cmd+shift+,showHideAllWindowsShow/hide all cmux windowssystem-wide hotkey
ctrl+opt+cmd+.globalSearchGlobal searchsystem-wide hotkey
opt+cmd+fcommandPaletteCommand palette
cmd+shift+pcommandPaletteNextCommand 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 workspace
cmd+nnewBrowserWorkspaceNew browser workspacelike New Workspace, but the first surface is a browser pane with the address bar focused
opt+cmd+nopenFolderOpen folder
cmd+ogoToWorkspaceGo to workspaceworkspace switcher
cmd+pnextSidebarTabNext workspace
ctrl+cmd+]prevSidebarTabPrevious workspace
ctrl+cmd+[focusHistoryBackFocus backcmux uses Cmd+[ and Cmd+] for focus history by default. Unbind Focus Back/Forward in Settings to let browser or terminal shortcuts handle those keys.
cmd+[focusHistoryForwardFocus forwardcmux uses Cmd+[ and Cmd+] for focus history by default. Unbind Focus Back/Forward in Settings to let browser or terminal shortcuts handle those keys.
cmd+]selectWorkspaceByNumberSelect workspace 1…9
cmd+1renameWorkspaceRename workspace
cmd+shift+reditWorkspaceDescriptionEdit workspace description
opt+cmd+efocusRightSidebarToggle right-sidebar focus
cmd+shift+enavigateRightSidebarRowsNavigate focused sidebar rowsIn Files, H/L collapse and expand folders. Search starts with /.
j / kfileExplorerOpenSelectionAbrir el archivo seleccionado o alternar carpetaexplorador de archivos enfocado
enterfileExplorerOpenSelectionFinderAliasAbrir el archivo seleccionado o alternar carpetaalias estilo Finder para el explorador de archivos enfocado
cmd+downcloseWorkspaceClose workspace
cmd+shift+wSuperficies
newSurfaceNew surface
cmd+tnextSurfaceNext surface
cmd+shift+]prevSurfacePrevious surface
cmd+shift+[selectSurfaceByNumberSelect 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+kfocusTextBoxInputSwitch focus between terminal and TextBox input
cmd+shift+aattachTextBoxFileAttach 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)
saveFilePreviewSave file previewfocused text preview
cmd+sPaneles divididos
focusLeftFocus pane left
opt+cmd+leftfocusRightFocus pane right
opt+cmd+rightfocusUpFocus pane up
opt+cmd+upfocusDownFocus pane down
opt+cmd+downsplitRightSplit right
cmd+dsplitDownSplit down
cmd+shift+dsplitBrowserRightSplit browser right
opt+cmd+dsplitBrowserDownSplit browser down
opt+cmd+shift+dtoggleSplitZoomToggle pane zoom
cmd+shift+enterequalizeSplitsEqualize split sizes
ctrl+cmd+=Lienzo
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+tNavegador
openBrowserOpen browser
cmd+shift+lfocusBrowserAddressBarFocus address bar
cmd+lbrowserBackBack
cmd+[browserForwardForward
cmd+]browserReloadReload pagefocused browser
cmd+rbrowserHardReloadRecarga completa de la páginanavegador enfocado
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+entertoggleReactGrabToggle React Grabfocused browser, or the only browser pane when a terminal is focused
cmd+shift+gVisor de diffs
openDiffViewerOpen diff viewer
ctrl+cmd+shift+ddiffViewerScrollDownScroll diff downfocused diff viewer
jdiffViewerScrollUpScroll diff upfocused diff viewer
kdiffViewerScrollToBottomScroll diff to bottomfocused diff viewer
shift+gdiffViewerScrollToTopScroll diff to topfocused diff viewer
["g", "g"]diffViewerOpenFileSearchOpen diff file searchfocused diff viewer
/Búsqueda
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+eNotificaciones
showNotificationsShow notifications
cmd+ijumpToUnreadJump to latest unread
cmd+shift+utoggleUnreadToggle current item unread state
opt+cmd+umarkOldestUnreadAndJumpNextMark current item as oldest unread and jump to the next latest unread
ctrl+cmd+utriggerFlashFlash focused panel
cmd+shift+h#shortcuts.when
Predicados de contexto opcionales por acción (cláusulas when al estilo de VS Code), indexados por el id de acción de cmux. Una asignación solo se activa —y solo entra en conflicto con otra asignación de la misma pulsación— cuando su cláusula se cumple. Omite la cláusula para conservar el contexto integrado de la acción. El vocabulario de las cláusulas:
sidebarFocus,browserFocus,markdownFocus,terminalFocus,commandPaletteVisible,terminalFindVisible,workspaceCanvasLayout— claves booleanas. Una clave desconocida o ausente se evalúa como false; también se aceptan los literales true y false.sidebarMode(files,find,sessions,feed,dock),paneCount,workspaceCount— claves tipadas para comparaciones: el modo activo de la barra lateral derecha (cadena) y los recuentos de paneles y espacios de trabajo (enteros).!,&&,||,(…),==,!=,=~,<,<=,>,>=,in [a, b]— operadores booleanos, comparaciones tipadas, coincidencia por expresión regular y pertenencia a listas. Las comparaciones ligan más fuerte que && y ||.
Por ejemplo, esto hace que Ctrl+1–9 seleccione espacios de trabajo en todas partes salvo cuando la barra lateral derecha tiene el foco (dejando Ctrl+1–5 libre para el selector de modo de la barra lateral), y limita la selección de superficie a la barra lateral de búsqueda cuando el espacio de trabajo tiene varios paneles:
"shortcuts": {
"bindings": { "selectWorkspaceByNumber": "ctrl+1" },
"when": {
"selectWorkspaceByNumber": "!sidebarFocus",
"selectSurfaceByNumber": "sidebarMode == 'find' && paneCount > 1"
}
}