# Settings

Open the Settings tab with `Cmd+,`. Opening Settings again selects the existing
tab. Use the search box to find a setting. Changes apply immediately, and
Settings works while the server is offline. Close it with the tab’s close button
or `Cmd+W`; pending edits are saved.

On macOS, choose **About Muxy** (or **About Muxy Beta**) from the app menu to open
**Settings → About** in the same Settings tab.

## Sections

| Section | What's in it |
| --- | --- |
| General | Closing behavior, file types, defaults, and opener rules, window size, worktree locations |
| Quick Terminal | Global shortcut, pinning, size, transparency |
| Composer | Clearing, image submission, font |
| Appearance | Language, light and dark themes, interface size, sidebar, status bar, rail, pane headers, the Open in App button, tips |
| Keyboard | Every shortcut. See [Keyboard shortcuts](keyboard-shortcuts.md) |
| Commands | Your own commands, each run in a new tab, with optional shortcuts |
| Terminal | Fonts, spacing, transparency, vibrancy, colors, cursor, padding, selection, scrolling, Option keys, key bindings |
| Browser | The [built-in browser](../features/browser.md): terminal links, search engine, home page, profiles, import |
| Servers | This computer's [server](../features/server.md#settings): connect, restart and stop, shell, history, shell integration, and [program resume](../features/server.md#program-resume); the [phones](../features/mobile.md) and computers paired as clients; and [remote servers](../features/remote-servers.md) |
| Extensions | Installed extensions and the marketplace |
| AI | Tools and prompts for [Git](../features/git.md) actions, and for rewriting the Rich Input |
| Backup & Restore | Export, restore, and import from 1.x |
| About | App name, version, channel, Check for Updates |

To pair phones and computers, see [Mobile](../features/mobile.md) and
[Remote servers](../features/remote-servers.md#pair-with-another-computer).

## Files

Settings are plain files in Muxy's
[profile folder](../features/server.md#files). **Edit in…** at the top of a
section opens its file.

| File | Holds |
| --- | --- |
| `settings.toml` | App preferences, shortcuts (`[keymap]`), commands, remote servers |
| `terminal.toml` | Terminal preferences and key bindings |
| `themes/` | Your own themes |
| `server.toml` | Server settings |

- After editing `settings.toml` by hand, run `muxy config reload` or restart
  the app. If the file has an error or an unknown key, the app won't open; see
  [Troubleshooting](troubleshooting.md#the-app-doesnt-open). `muxy config`
  edits never save such a file.
- **Welcome Tour** at the top of Settings replays the
  [welcome tour](../product/app-model.md#welcome-tour).
- Hand edits to `terminal.toml` apply when Muxy or Settings becomes active. If
  the file has an error, Settings shows it and keeps the last good values.

## Terminal configuration

Use **Settings → Terminal** for:

- Font family, fallback fonts, bold and italic fonts, size, line and character
  spacing, ligatures and other font features, fonts for Unicode ranges, thicker
  strokes, and bright colors for bold text.
- Background transparency and vibrancy sliders, optionally including colored cells.
  Vibrancy uses the native macOS window material, including its blur and desktop
  tinting. Increasing vibrancy reveals more of that material by reducing the
  terminal's solid color overlay; it also works with transparency set to zero.
  Reduce Transparency and Increase Contrast disable this material.
- Cursor shape, blinking, opacity, and thickness. Thickness accepts an adjustment in
  physical pixels or a percentage: `1` adds one pixel and `100%` doubles it.
  It applies to bar, underline, and outlined cursors. Terminal programs can
  override cursor shape and blinking.
- Separate sliders for left, right, top, and bottom padding, with balanced
  unused space and a padding color.
- Background, text, cursor, selection, and the 16 ANSI colors. Each replaces
  the theme's color; leave it empty to use the theme.
- Copy on select, clearing selection when typing or copying, mouse reporting,
  separate trackpad and mouse wheel speeds, and scrolling to live output.
- **Smooth output scrolling** (off by default): new output slides the view up
  instead of jumping. Full-screen programs, AI agents, and bursts of more than
  half a screen still jump.
- Whether both, neither, left, or right Option keys act as Alt.
- Whether new tabs and panes start in the focused pane's working directory
  (**Keep working directory**, off by default) or in the project folder.
- Whether [Insert Path](../features/terminal.md#insert-a-path) lists the paths
  you chose most recently first (**Show recently used paths**, on by default).
  Turning it off also stops remembering them.
- Key bindings the terminal handles while focused: record a key, then pick an
  action such as sending text. They win over app shortcuts. You can also turn
  off the built-in terminal bindings.

Numeric controls use sliders, on/off options use switches, and fixed choices use
dropdowns. Sliders keep their place while their value changes, and save once,
when released or when Settings closes. Terminal sliders also preview in the
terminals while dragging. Spacing and thickness offer a pixels/percent dropdown; changing
units keeps the numeric adjustment within the supported range.

**Reset terminal settings**, at the bottom of the section, returns everything
on it, including key bindings, to its default after you confirm.

Themes remain in **Settings → Appearance**. Shell and history limits remain
in **Settings → Servers**. Quick Terminal opacity combines with terminal opacity.

On the first launch without `terminal.toml`, Muxy imports the supported values
from its old `ghostty.conf`, including included files and custom terminal key
bindings. The original files stay intact. Later edits to those old files have
no effect. Any unsupported legacy options appear under **Imported settings**
until you dismiss them.
Older backups and 1.x imports are converted to native preferences too. Legacy blur
and glass presets become native background vibrancy.

## Change settings from the command line

`muxy config` reads and changes every setting in `settings.toml` and
`terminal.toml`, and has the running app apply the change. Keys are the files'
own dotted paths; terminal keys start with `terminal.`.

```bash
muxy config list                         # every setting with its value
muxy config get appearance.dark_theme
muxy config set terminal.font_size 14
muxy config unset terminal.font_size     # back to the default
```

A value that would stop the app from starting is refused, and the file stays
as it was. Remote servers stay in **Settings → Devices**, and server settings use
`muxy settings`. See [Muxy CLI](../features/muxy-cli.md#app-settings).

## Ask an agent

**Ask Agent…** at the top of Settings asks which coding agent to use, then opens
a tab in Home with the agent running in the profile folder. It reads a
`muxy-settings` skill that Muxy writes to `.claude/skills/` and `.agents/skills/`
there, and changes settings with `muxy config`, so each change applies at once.
Tell it what you want, such as "use a larger font and a dark theme". As with
[extension agents](../extensions/agents.md), Muxy asks to install the `muxy`
command first if it's missing.

## Themes

Muxy ships about 490 themes. Pick the app's light and dark themes in
**Settings → Appearance**, or press `Cmd+Shift+K`. Muxy follows the macOS
appearance.

Custom themes in the profile's `themes/` folder show up too. The chosen theme
colors the app and its terminals.

## Sidebar

`Cmd+B` expands and collapses the sidebar. **Collapsed sidebar style** in
**Settings → Appearance** picks what a collapsed sidebar leaves: **Icons**, a
narrow column of project icons in Project Focused or of an extension sidebar,
or **Hidden**.

Turn on **Auto-hide sidebar** to give the window its full width. The sidebar
then stays out of sight until the pointer rests near the window's left edge,
below the title bar. It slides in as a floating panel over your tabs, expanded
or as icons as you left it, and slides away once the pointer leaves it. It
stays while one of its menus is open or you drag something.

With auto-hide on, `Cmd+B` shows or hides the floating sidebar instead of
resizing it. A sidebar shown this way stays until you press `Cmd+B` again,
click outside it, or pass the pointer over it and leave. A collapsed sidebar set
to Hidden never floats, and `Cmd+B` expands it into the floating panel.

## Backup and restore

- **Export…** saves a `.muxy` file with your settings, `terminal.toml`, themes,
  server settings, extension preferences, remote server list, and local
  projects with their layouts.
- **Choose file…** under **Restore backup** restores on the next launch. Muxy
  keeps a recovery copy in the profile's `Backups/` folder. Existing projects
  are kept and get the saved layouts.
- Backups never include running terminals, paired phones, extension packages,
  remote projects, or project files.

## Import from Muxy 1.x

**Import installed 1.x** reads Muxy 1.x's settings from this Mac. **Choose
file…** takes a 1.x `.muxy` backup or `settings.json`. Muxy imports supported
settings, shortcuts, custom commands, local projects, workspaces, worktrees, and
terminal tabs, and lists what it skipped. Projects, tabs, and workspaces you
already have are kept. **Import installed 1.x** also brings the default shell
and extensions.

## Extensions

**Settings → Extensions → Browse** installs extensions from the marketplace,
which is the [`muxy-app/extensions`](https://github.com/muxy-app/extensions)
repository on GitHub. Add other GitHub repositories as marketplaces under
**Marketplaces** at the bottom of **Browse**; see
[Marketplaces](../extensions/marketplaces.md).
New extensions start disabled; review their permissions and turn them on.
On **Installed**, use **Check for updates** to check marketplace extensions.
Updates are manual: use **Update all**, which appears when updates are
available, or update one from its page.
Building your own? Choose **Create Extension…** to
[have an agent build it](../extensions/agents.md), or see
[Extensions](../extensions/overview.md).

Extensions can put icons on the rail, a column on the right edge of the
window. Open and close it with the rail button at the end of the top bar. Turn
off **Settings → Appearance → Show rail** to hide the rail and its button and
show those icons in the top bar instead.

Language packs are extensions too. Pick a language in **Settings → Appearance →
App language**, or choose **Browse language extensions…**.

## File types and openers

Under **General → Files**, inspect the types registered by enabled extensions.
An extension opens matching project files from terminal links. If more than one
matches, choose an opener or turn on **Always use for this type** in the chooser
before selecting it. No match means Finder on macOS or the system file manager
on Linux. URLs keep their browser settings. Remote paths use remote-file
handling when no extension matches.

Use **File type rules → Add Rule** for custom types and defaults. Patterns such
as `*.md`, `*.tar.gz`, `.env`, and `Dockerfile` match filenames at any depth;
`docs/*.txt` matches a project-relative path. Matching ignores case. Choose an
extension, **Always ask**, or the file manager. Assigning an extension also
registers that custom pattern for it. Rules run from top to bottom; use **Move
Up** and **Move Down** to change priority. **Edit** changes a pattern or opener,
and **Remove** restores automatic matching for that rule.

**Always show the file opener** shows the chooser even for one matching
extension or a saved default. Unsupported files still go to the file manager.
Disabled or removed extensions are not candidates; their saved rules become
active again if they return. The old global `openers.file` setting is accepted
for compatibility and ignored. The topbar project-app choice only affects
explicit clicks on that control.

These preferences are stored in `settings.toml`:

```toml
[openers]
always_ask = false

[[openers.file_rules]]
pattern = "*.md"
opener = "preview:markdown"

[[openers.file_rules]]
pattern = "Dockerfile"
opener = "ask"

[[openers.file_rules]]
pattern = "*.pdf"
opener = "system.finder"
```

An extension opener ID is `<extension package name>:<file opener id>`.
