#設定
cmuxはターミナル設定をGhosttyの設定ファイルから読み込みます。cmux管理のアプリ設定も ~/.config/cmux/cmux.json で管理でき、ショートカット、自動化、サイドバー、通知、ブラウザ設定を含みます。
#設定ファイルの場所
cmuxは以下の場所から設定を検索します(順番に):
~/.config/ghostty/config~/Library/Application Support/com.mitchellh.ghostty/config
設定ファイルが存在しない場合は作成してください:
mkdir -p ~/.config/ghostty
touch ~/.config/ghostty/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 = ~/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": {
// // 新しく開く Markdown ビューアの本文フォントサイズ(ポイント単位)。
// // Cmd-+ / Cmd-- / Cmd-0 でその場で拡大・縮小できます。
// "fontSize": 15,
// // 本文フォントファミリーの既定値です。空のままにするとシステムの Markdown フォントスタックを使います。
// "fontFamily": "",
// // 読み取りカラム最大幅の既定値(CSS ピクセル単位)です。
// "maxWidth": 980
// },
// "fileEditor": {
// // 横スクロールする代わりに、エディタの右端で長い行を折り返します。
// "wordWrap": false
// },
// "fileExplorer": {
// // ファイルをダブルクリックしたときの動作: preview(既定)、defaultEditor(macOS の既定アプリ)、preferredEditor(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.windowTitleTemplate任意の NSWindow タイトルテンプレートです。空欄のままなら、現在のディレクトリへのフォールバックを含む cmux 既存の既定タイトル動作を保ちます。対応するプレースホルダー: {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.forkConversationDefaultDestinationタブのコンテキストメニューにある主要な「会話をフォーク」操作のデフォルトのフォーク先です。サブメニューには引き続きすべてのフォーク先が表示されます。
- 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.globalFontMagnificationcmux が所有するターミナル、タブタイトル、サイドバー、設定、オーバーレイ、アプリの chrome をこの割合で拡大縮小します。レンダリングされたブラウザページ内容は対象外です。
- 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.confirmQuitcmux の終了前に確認を求めるタイミングを制御します。DEV ビルドではこの設定に関係なく常にすぐ終了します。従来の app.warnBeforeQuit も boolean フォールバックとして引き続き受け付けます。
- Type
string- Default
"always"- Allowed values
always, dirty-only, never
app.warnBeforeQuit終了確認用の従来の boolean フォールバックです。新しい設定では app.confirmQuit を使ってください。
- Type
boolean- Default
true
app.warnBeforeClosingTabShow a confirmation before closing a tab.
- Type
boolean- Default
true
app.warnBeforeClosingTabXButtonタブの閉じるボタンでタブを閉じる前に確認を表示します。
- Type
boolean- Default
false
app.hideTabCloseButtonペインのタブバーでタブの閉じるボタンを非表示にします。
- 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.scrollSpeedターミナルのスクロールホイールとトラックパッドの移動量に適用される倍率です。値を大きくするとスクロールが速くなり、小さくすると遅くなります。
- Type
number- Default
1
terminal.copyOnSelecttrue の場合、選択が確定したときにターミナルで選択したテキストをシステムクリップボードへコピーします。false の場合、cmux は Ghostty の copy-on-select 上書きを出力せず、選択クリップボードの動作は Ghostty の設定と既定値に従います。
- 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.showTextBoxOnNewTerminals新しいワークスペース、ターミナルタブ、ターミナル分割でベータ版の TextBox 入力を既定で表示します。
- Type
boolean- Default
false
terminal.focusTextBoxOnNewTerminals新しいワークスペース、ターミナルタブ、ターミナル分割でベータ版の TextBox 入力に既定でフォーカスします。フォーカスする場合は 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.rightMaxWidth右サイドバーの最大幅(ポイント)。省略すると、組み込みの動的上限が適用されます。
- 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.newWorkspacePlacementグループ内で Cmd-N、グループヘッダーの + ボタン、設定済みグループアクションが新しいワークスペースを配置する場所のグローバル既定値です: `afterCurrent` (アクティブなグループ内ワークスペースの直後。ない場合は top)、`top` (アンカー直後の2番目の位置)、`end` (最後のメンバーの後)。
- 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.workspaceAutoNamingエージェントの会話内容からワークスペースとタブの名前を自動生成するオプトイン機能です。有効にすると、cmux は対応エージェントの各バイナリを使ってセッションを短いタイトルに要約します。手動の名前変更が常に優先されます。
- Type
boolean- Default
false
automation.autoNamingAgentすべてのセッションの自動命名を行うエージェントを指定します。"auto"(既定)は各セッションをそのセッション自身のエージェントで命名します。任意のエージェントのスラッグ(claude、codex、grok、opencode、pi、omp など)を指定すると、他のエージェントのセッションも含めてすべての命名をそのエージェントが行います。実行できない、または未インストールのエージェントは各セッション自身のエージェントにフォールバックするため、命名が壊れることはありません。
- Type
string- Default
"auto"
automation.ripgrepBinaryPathCustom path to the ripgrep (rg) binary used by project search.
- Type
string- Default
""
automation.suppressSubagentNotificationsネストされた Codex または Claude の子エージェントからの表示される完了通知とステータス変更を抑制し、それらのイベントは Feed テレメトリに残します。
- Type
boolean- Default
true
automation.ampIntegrationAmp の cmux 連携フックを有効にします。無効にすると、バンドルされたプラグインは削除せずに非アクティブのままになります。
- 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.defaultSearchEngineブラウザのアドレスバーでURLではない入力に使う既定の検索エンジンです。任意のプロバイダには custom と customSearchEngineURLTemplate を使います。
- Type
string- Default
"google"- Allowed values
google, duckduckgo, bing, kagi, startpage, brave, perplexity, exa, yahoo, ecosia, qwant, mojeek, wikipedia, github, baidu, yandex, custom
browser.customSearchEngineNamedefaultSearchEngine が custom のときに使う表示名です。
- Type
string- Default
""
browser.customSearchEngineURLTemplatedefaultSearchEngine が custom のときに使う検索URLです。エンコード済み検索語にはクエリ用プレースホルダーまたは %s を含めます。省略すると cmux が URL に q= を追加します。
- 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.fontSize新しく開く Markdown ビューアの本文フォントサイズの既定値(ポイント単位)です。Cmd-+ / Cmd-- / Cmd-0 でその場で拡大・縮小できます。
- Type
integer- Default
15
markdown.fontFamily新しく開く Markdown ビューアの本文フォントファミリーの既定値です。空のままにするとシステムの Markdown フォントスタックを使います。
- Type
string- Default
""
markdown.maxWidth新しく開く Markdown ビューアの読み取りカラム最大幅の既定値(CSS ピクセル単位)です。
- Type
integer- Default
980
#fileEditor
Built-in plain-text file editor settings.
fileEditor.wordWrap横スクロールする代わりに、エディタの右端で長い行を折り返します。
- Type
boolean- Default
false
#fileExplorer
右サイドバーのファイルエクスプローラー(ファイルツリー)設定。
fileExplorer.doubleClickActionファイルエクスプローラーでファイルをダブルクリックした(または検索結果で Return を押した)ときの動作です。`preview` は組み込みの cmux ファイルプレビューを開きます(既定かつ従来の動作)。`defaultEditor` はそのファイル形式の macOS 既定アプリで開きます。`preferredEditor` は `app.preferredEditor` コマンドで開き、未設定の場合は既定アプリにフォールバックします。ファイルにのみ適用され、ディレクトリは常に展開・折りたたみされ、非ローカル(リモート)のファイルエクスプローラーは常に cmux プレビューを開きます。
- Type
string- Default
"preview"- Allowed values
preview, defaultEditor, preferredEditor
#shortcuts
Keyboard shortcut settings from Settings > Keyboard Shortcuts.
shortcuts.showModifierHoldHintsCmd または Control を押し続けている間、ショートカットヒントのチップを表示します。
- Type
boolean- Default
true
shortcuts.whenアクションごとの任意のコンテキスト述語(VS Code スタイルの `when` 句)です。cmux のアクション ID をキーにします。各値は、コンテキストキーを !、&&、||、括弧で組み合わせた boolean 式です。boolean キー: sidebarFocus、browserFocus、markdownFocus、terminalFocus、commandPaletteVisible、terminalFindVisible。型付きキーは比較できます: 文字列 sidebarMode(files、find、sessions、feed、dock のいずれか)と整数 paneCount、workspaceCount です。比較演算子は ==、!=、=~(正規表現)、<、<=、>、>=、および `in [a, b]` です。未知または存在しないキーは false として扱われます。 boolean リテラル true および false も使えます。`key == false` は `!key` と同じです。その句が成立するときだけアクションのショートカットが発火し、他のショートカットとの競合もそのときだけ扱われます。例: { "selectWorkspaceByNumber": "!sidebarFocus" } は、右サイドバーにフォーカスがある場合を除いて Ctrl+1–9 でワークスペースを選択します。{ "selectSurfaceByNumber": "sidebarMode == 'find' && paneCount > 1" } は、ワークスペースに複数のペインがあるときに Find サイドバーへバインドを絞り込みます。
- 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.
アプリ
openSettings設定
cmd+,reloadConfiguration構成を再読み込み
cmd+shift+,showHideAllWindowsすべてのcmuxウインドウを表示/非表示システム全体のホットキー
ctrl+opt+cmd+.globalSearchグローバル検索システム全体のホットキー
opt+cmd+fcommandPaletteコマンドパレット
cmd+shift+pcommandPaletteNextコマンドパレットの次の結果コマンドパレットを開いている間
ctrl+ncommandPalettePreviousコマンドパレットの前の結果コマンドパレットを開いている間
ctrl+pnewWindow新規ウインドウ
cmd+shift+ncloseWindowウインドウを閉じる
ctrl+cmd+wtoggleFullScreenフルスクリーンを切り替え
ctrl+cmd+fsendFeedbackフィードバックを送信デフォルトでは未割り当て
reopenPreviousSession前回のセッションを再度開く
cmd+shift+oquitcmuxを終了
cmd+qワークスペース
toggleSidebar左サイドバーを切り替え
cmd+btoggleFileExplorer右サイドバーを切り替え
cmd+opt+bnewTab新規ワークスペース
cmd+nnewBrowserWorkspace新規ブラウザワークスペース新規ワークスペースと同様ですが、最初のサーフェスがブラウザペインになり、アドレスバーにフォーカスします
opt+cmd+nopenFolderフォルダを開く
cmd+ogoToWorkspaceワークスペースへ移動ワークスペーススイッチャー
cmd+pnextSidebarTab次のワークスペース
ctrl+cmd+]prevSidebarTab前のワークスペース
ctrl+cmd+[focusHistoryBackフォーカスを戻すcmux は標準で Cmd+[ と Cmd+] をフォーカス履歴に使います。ブラウザまたはターミナル側で使うには、設定で Focus Back/Forward の割り当てを解除します。
cmd+[focusHistoryForwardフォーカスを進めるcmux は標準で Cmd+[ と Cmd+] をフォーカス履歴に使います。ブラウザまたはターミナル側で使うには、設定で Focus Back/Forward の割り当てを解除します。
cmd+]selectWorkspaceByNumberワークスペース1…9を選択
cmd+1renameWorkspaceワークスペース名を変更
cmd+shift+reditWorkspaceDescriptionワークスペースの説明を編集
opt+cmd+efocusRightSidebar右サイドバーのフォーカスを切り替え
cmd+shift+enavigateRightSidebarRowsフォーカス中のサイドバー行を移動ファイルでは H/L でフォルダを折りたたみ/展開します。検索は / で開始します。
j / kfileExplorerOpenSelection選択中のファイルを開く、またはフォルダを切り替えフォーカス中のファイルエクスプローラ
enterfileExplorerOpenSelectionFinderAlias選択中のファイルを開く、またはフォルダを切り替えフォーカス中のファイルエクスプローラ向けFinder風エイリアス
cmd+downcloseWorkspaceワークスペースを閉じる
cmd+shift+wサーフェス
newSurface新規サーフェス
cmd+tnextSurface次のサーフェス
cmd+shift+]prevSurface前のサーフェス
cmd+shift+[selectSurfaceByNumberサーフェス1…9を選択
ctrl+1renameTabタブ名を変更
cmd+rcloseTabタブを閉じる
cmd+wcloseOtherTabsInPaneペイン内の他のタブを閉じる
opt+cmd+treopenClosedBrowserPanel最後に閉じた項目を再度開く
cmd+shift+ttoggleTerminalCopyModeターミナルコピーモードを切り替え
cmd+shift+mclearScreenKeepScrollback画面をクリア(スクロールバックを保持)
cmd+shift+kfocusTextBoxInputターミナルとTextBox入力のフォーカスを切り替え
cmd+shift+aattachTextBoxFileTextBox入力にファイルを添付
opt+cmd+shift+asendCtrlFToTerminalターミナルにCtrl-Fを送信デフォルトでは未割り当て。フォーカス中のターミナルにCtrl-Fを転送(Claude Code: 2回実行で停止しないバックグラウンドエージェントを強制停止)
saveFilePreviewファイルプレビューを保存フォーカス中のテキストプレビュー
cmd+s分割ペイン
focusLeft左のペインにフォーカス
opt+cmd+leftfocusRight右のペインにフォーカス
opt+cmd+rightfocusUp上のペインにフォーカス
opt+cmd+upfocusDown下のペインにフォーカス
opt+cmd+downsplitRight右に分割
cmd+dsplitDown下に分割
cmd+shift+dsplitBrowserRight右にブラウザ分割
opt+cmd+dsplitBrowserDown下にブラウザ分割
opt+cmd+shift+dtoggleSplitZoomペインズームを切り替え
cmd+shift+enterequalizeSplits分割サイズを均等にする
ctrl+cmd+=キャンバス
toggleCanvasLayoutキャンバスレイアウトを切り替え
ctrl+cmd+ccanvasRevealFocusedPaneフォーカス中のペインを表示
ctrl+cmd+rcanvasOverview全体表示を切り替え
ctrl+cmd+ocanvasZoomIn拡大
opt+cmd+=canvasZoomOut縮小
opt+cmd+-canvasZoomReset実寸表示
opt+cmd+0canvasTidyペインをグリッドに整列
ctrl+cmd+tブラウザ
openBrowserブラウザを開く
cmd+shift+lfocusBrowserAddressBarアドレスバーにフォーカス
cmd+lbrowserBack戻る
cmd+[browserForward進む
cmd+]browserReloadページを再読み込みフォーカス中のブラウザ
cmd+rbrowserHardReloadページを強制再読み込みフォーカス中のブラウザ
cmd+shift+rbrowserZoomIn拡大
cmd+=browserZoomOut縮小
cmd+-browserZoomReset実寸表示
cmd+0markdownZoomInMarkdownビューア: 拡大フォーカス中のMarkdownビューア
cmd+=markdownZoomOutMarkdownビューア: 縮小フォーカス中のMarkdownビューア
cmd+-markdownZoomResetMarkdownビューア: 実寸表示フォーカス中のMarkdownビューア
cmd+0toggleBrowserDeveloperToolsブラウザ開発者ツールを切り替え
opt+cmd+ishowBrowserJavaScriptConsoleブラウザJavaScriptコンソールを表示
opt+cmd+ctoggleBrowserFocusModeブラウザフォーカスモードに入るフォーカス中のWebページにショートカットの優先権を渡します。Escを2回押すと終了します。
opt+cmd+entertoggleReactGrabReact Grabを切り替えフォーカス中のブラウザ、またはターミナルにフォーカスがあるときは唯一のブラウザペイン
cmd+shift+g差分ビューア
openDiffViewer差分ビューアを開く
ctrl+cmd+shift+ddiffViewerScrollDown差分を下にスクロールフォーカス中の差分ビューア
jdiffViewerScrollUp差分を上にスクロールフォーカス中の差分ビューア
kdiffViewerScrollToBottom差分の末尾へスクロールフォーカス中の差分ビューア
shift+gdiffViewerScrollToTop差分の先頭へスクロールフォーカス中の差分ビューア
["g", "g"]diffViewerOpenFileSearch差分ファイル検索を開くフォーカス中の差分ビューア
/検索
find検索
cmd+ffindInDirectoryディレクトリ内を検索
cmd+shift+ffindNext次を検索
cmd+gfindPrevious前を検索
opt+cmd+ghideFind検索バーを隠す
opt+cmd+shift+fuseSelectionForFind選択範囲で検索
cmd+e通知
showNotifications通知を表示
cmd+ijumpToUnread最新の未読へ移動
cmd+shift+utoggleUnread現在の項目の未読状態を切り替え
opt+cmd+umarkOldestUnreadAndJumpNext現在の項目を最古の未読にして次の最新未読へ移動
ctrl+cmd+utriggerFlashフォーカス中のパネルをフラッシュ
cmd+shift+h#shortcuts.when
アクションごとの任意のコンテキスト述語(VS Code スタイルの when 句)で、cmux のアクション ID をキーにします。バインディングは、その句が成立するときだけ発火し、同じキーストロークの他のバインディングともそのときだけ競合します。句を省略すると、アクションの組み込みコンテキストが維持されます。句で使える語彙:
sidebarFocus,browserFocus,markdownFocus,terminalFocus,commandPaletteVisible,terminalFindVisible— boolean キー。未知または存在しないキーは false として扱われ、リテラル true / false も使えます。sidebarMode(files,find,sessions,feed,dock),paneCount,workspaceCount— 比較用の型付きキー。右サイドバーのアクティブモード(文字列)と、ペイン数・ワークスペース数(整数)です。!,&&,||,(…),==,!=,=~,<,<=,>,>=,in [a, b]— boolean 演算子、型付き比較、正規表現マッチ、リスト所属。比較は && や || より強く結合します。
例えば次の設定では、右サイドバーにフォーカスがある場合を除いて Ctrl+1–9 でワークスペースを選択し(Ctrl+1–5 はサイドバーのモード切り替えに残します)、ワークスペースに複数のペインがあるときはサーフェス選択を Find サイドバーに限定します。
"shortcuts": {
"bindings": { "selectWorkspaceByNumber": "ctrl+1" },
"when": {
"selectWorkspaceByNumber": "!sidebarFocus",
"selectSurfaceByNumber": "sidebarMode == 'find' && paneCount > 1"
}
}