Configuration
Macterm reads your existing Ghostty config. It uses the same file in the same places, and you do not convert anything. Your theme, font, palette and keybinds carry over. Every key is in the Ghostty option reference.
theme = catppuccin-mocha
font-family = JetBrains Mono
font-size = 14If you have no config, Macterm uses ~/Library/Application Support/com.mitchellh.ghostty/config.ghostty. If your config is in another place, set the path in Settings → General → Ghostty Config. To apply an edit with no restart, run Reload Ghostty Config from the command palette.
Settings for Macterm only
Macterm also has a config file of its own, ~/.config/macterm/config.ghostty. Macterm writes it the first time that it starts, and adds it to the config files in Settings → General → Ghostty Config, after your Ghostty config. A later file overrides an earlier file, so a key in it wins over the same key in your Ghostty config. Ghostty does not read the file. Use it for a setting that you want in Macterm and not in Ghostty, for example a larger font:
font-size = 16The file lists each default of Macterm as a comment, with a note that says what the key does. To change a value, remove the # at the start of its line and edit the value. To open the file in your terminal editor, run Open Ghostty Config from the command palette. The file is a config file like any other. You can move it or remove it in Settings. Macterm adds it one time only. If you delete the file, Macterm writes it again only when you run Open Ghostty Config.
Defaults that differ from Ghostty
Macterm has its own defaults for a few keys. Macterm loads them before your config, so a key that you set always wins. The same keys are the commented lines in ~/.config/macterm/config.ghostty.
| Key | Macterm default |
|---|---|
theme |
eyesclosed |
font-size |
16 |
macos-option-as-alt |
true |
window-padding-x, window-padding-y |
12 |
tab-inherit-working-directory |
false. New tabs start at the project root. |
macos-secure-input-indication |
false. The password bubble marks a password prompt instead. |
background-opacity-cells |
true. The backgrounds that a program paints follow the window opacity. |
The full list is defaults in MactermConfig.swift.
Keys Macterm overrides
Macterm draws the window chrome itself. It ignores or forces these keys:
| Key | Set it here instead |
|---|---|
background-opacity |
Settings → Appearance → Window opacity |
background-blur |
Settings → Appearance → Blur |
| titlebar, window-decoration, split-divider and quick-terminal keys | Settings |
bell-features = title, border |
Not implemented |
macos-non-native-fullscreen |
Not implemented. Full screen is always native. |
macos-icon, macos-custom-icon |
Not implemented. The Dock shows the adaptive icon or the usual icon. |
background-opacity-cells works as in Ghostty (Macterm sets it to true by default). All other keys work as the upstream docs describe them. This includes bell-features = system, audio and attention (attention puts a badge on the Dock icon with the number of tabs that wait for you), mouse-scroll-multiplier and custom-shader.
Keys with no Settings equivalent
| Key | Effect |
|---|---|
tab-inherit-working-directory |
false (the Macterm default) starts new tabs at the project root. true uses the directory of the focused pane. |
split-inherit-working-directory |
The same, for splits. |
focus-follows-mouse |
true focuses the pane under the pointer in the active window, as a click on the pane does. It never takes focus from the command palette, the search bar or a rename field. |
confirm-close-surface |
true (default) asks before a close or a quit ends a running program. false never asks. always asks at every close. It applies to local and remote panes, and to the busy error of the CLI. Set confirm-close-surface = false to turn the warning off. |
macos-shortcuts |
Controls access to Shortcuts: ask (default), allow or deny. |
macos-hidden = always |
Runs Macterm with no Dock icon, no menu bar, and no ⌘⇥ entry. See below. |
Macterm settings
Macterm → Settings has the settings for window opacity, blur, sidebar behavior, quick terminal geometry, keymaps and animations.
Language
Macterm is in English, Korean and Simplified Chinese. By default, it uses the language of macOS. To use another language for Macterm only, select it in Settings → General → Language, then quit Macterm and start it again. System uses the language of macOS. System Settings → General → Language & Region → Applications sets the same choice.
The CLI, its error messages and the logs are always in English.
Keybinds
Go to Settings → Keymaps. Click the keybind of a row. Press the keys that you want. To clear the keybind, click it and press Delete. If rows have the same keys, each row says so.
Each row has a ⋯ menu with two options. The options are available only when the row has a keybind. You cannot select both options. A row with an option on shows a small icon after its name:
- Pass to TUI gives the keys to the program in the focused pane. The action does not run. List the programs under Passthrough Programs at the top of the tab. Separate them with commas. Use the name that the tab shows.
- Global registers the keys for the whole system, so the action runs when another app is in front. Macterm does not need the Accessibility permission. If another app already uses the keys, the row says so.
Copy Mode (⌘⇧Space) is one of the rows. It starts a keyboard selection over the scrollback with the keys of Vim, or of Helix. See Copy Mode.
Toggle Toolbar (⌥⌘T) hides or shows the toolbar. View → Hide Toolbar does the same. A hidden toolbar removes the whole title bar, with the window buttons. You also cannot drag the window. To get the toolbar back, press the keys again.
Macterm owns the splits, so Ghostty's split keybinds (toggle_split_zoom, new_split, goto_split, resize_split and equalize_splits) do nothing in Macterm. Bind the split commands under Settings → Keymaps.
Read-only panes
A read-only pane sends no input to its program. To turn the mode on or off for the focused pane, run Read-Only Mode from the command palette. It has no keybind by default. To add one, go to Settings → Keymaps.
A Ghostty toggle_readonly keybind also works. Do not set both, because then two keybinds do the same thing.
A read-only pane shows a Read-Only pill in its top-right corner, first in the row of pane pills. Click the pill to turn read-only off.
The mode also stops password autofill. macterm pane run and macterm pane key return the error read_only and type nothing. This includes a key that is a Ghostty keybind. See Reading a pane.
Zoom the picture of a pane
Pinch on the trackpad over a pane to make its text larger. The pane, its grid and the program in it do not change: only the picture of the pane scales, up to 3 times. While you pinch, the text is soft. When you stop, it becomes sharp.
While the picture is zoomed, scroll with two fingers to move it. At an edge of the picture, the scroll goes to the terminal.
To go back to the normal size, run Reset Zoom from the command palette. It has no keybind by default. To add one, go to Settings → Keymaps. A new pane, and a pane that Macterm starts again, has the normal size.
To make a pane fill the tab, use Zoom Pane. A pinch does not do this.
Open files in your terminal editor
Macterm can open text files in a terminal editor such as Helix or Neovim. macOS cannot make such an editor a default app on its own.
- Go to Settings → General → Opening Text Files. Click Set Macterm as Default App…, then click Set as Default. Macterm becomes the default app for each text file type that it knows: plain text, Markdown, JSON, YAML, scripts and source code. See Text file types. It does not take HTML, RTF or SVG files. To change one file type, select a file in Finder and choose File → Get Info. Under Open with, select an app and click Change All. For a single file, use Open With → Other….
- Set
$EDITORin your shell config. Set$VISUALif you want it to win over$EDITOR. For example,$env.EDITOR = "hx"in nu orexport EDITOR=nvimin zsh. If you set neither, files open invi. - In Settings → General → Opening Text Files, choose Open in: New split (next to the current pane, along its longer side) or New tab.
Finder then shows these files with the Macterm document icon: a dark page of terminal characters, with the Macterm panes at its top-left. Finder can keep the old icon in its cache until you open the folder again.
You can double-click such a file, open it with Open With → Macterm, or run open -a Macterm file.rs. In each case, the file opens in the project that contains it. If no project contains it, Macterm creates a project for the folder of the file.
⌘-click a path in a pane to open it with its default app. Paths such as src/main.rs:42:7 work too. Compilers and test runners print paths in this form. When Macterm is the default app, the file opens at that line. The editor gets +42 before the path. The editors vi, Vim, Neovim, Helix, Kakoune, Emacs, nano and micro all understand this. Other apps cannot receive a line, so they get only the file.
When you quit the editor, its split or tab closes. Paths that a remote project prints do not open in the editor, because the file is on the host.
Text file types
Set Macterm as Default App… makes Macterm the default app for the files with these extensions. macOS keeps a default app for each file type, so Macterm sets each type in the list. Some extensions share one type, for example .yaml and .yml.
| Group | Extensions |
|---|---|
| Text and data | .txt .text .md .markdown .mdx .rst .adoc .org .tex .bib .json .jsonc .json5 .yaml .yml .toml .ini .cfg .conf .properties .env .xml .csv .tsv .log .lock .diff .patch |
| Shells and scripts | .sh .bash .zsh .fish .nu .ps1 .bat .awk .sed .tcl .pl .py .rb .php .lua .vim .el |
| Source code | .swift .c .h .cc .cpp .hpp .m .mm .s .cs .fsx .vb .java .kt .kts .scala .groovy .gradle .go .rs .zig .dart .js .mjs .cjs .cts .jsx .vue .svelte .astro .css .scss .ex .exs .erb .heex .elm .gleam .hs .ml .mli .clj .cljs .rkt .scm .lisp .jl .sol .sql .graphql .gql .proto .cue .nix |
| Build and tool files | .mk .cmake .hcl .tf .tfvars .editorconfig .gitignore .gitattributes .dockerignore .npmrc |
Macterm does not take a file type that another kind of app opens: HTML (a browser), RTF (a word processor) and SVG (an image). macOS types .ts files as MPEG-2 video, not as TypeScript, so Macterm does not take them either. To open such a file with Macterm, use Open With → Macterm.
Project colors
Set a color from the sidebar context menu of a project (Color) or in Settings → Projects. The color tints the sidebar icon of the project and the icons of its tabs. Settings → Appearance → Auto-assign project colors (off by default) gives each new project a color by itself.
Tab and pane status
The icon of each tab in the sidebar shows what its program does. The icon is the one that you chose in Settings → Appearance → Tab icon, or the logo of the coding agent that runs in the tab. A badge in the bottom-right corner of the icon shows the status. A tab with nothing to report has no badge. With the tab icon None, the badge shows alone. The tab switcher shows the same badges.
| Badge | Status |
|---|---|
| Spinner | A command or a program runs. An agent shows the spinner on its logo while it works. |
| Green check mark | The command finished, and you did not look at the tab yet. |
| Red cross | The program reported an error, and you did not look at the tab yet. |
| Orange hand | The program waits for your permission to do an action. |
| Orange question mark | The program asks you a question. |
| Orange lock | The program waits for you to sign in. |
| Orange exclamation point | The program waits for you, and gives no reason. |
When a tab has more than one pane, the most urgent badge shows. A program that waits for you comes first. Then a program that runs, then an error, then a finished command. Put the pointer on a badge to see the status as text.
The check mark and the cross go away when you look at the pane: you select its tab, focus it or type in it, or Macterm comes forward with the pane on the screen. They also go away when a new command starts. An orange badge stays until the program stops waiting.
Each pane also shows its own badge as a pill in its top-right corner. Put the pointer on the pill to see its title. While a program runs or waits, the title is its message and its progress in percent. With no message, the title is the name of the status. The pill also opens for a short time when the status or the message changes, but not for a new percent. It opens when a program starts to wait for you. A command that runs and reports nothing shows the spinner on its tab only, with no pill.
A program reports its status with OSC 7501, a sequence of Macterm. Macterm also reads OSC 9;4, the progress sequence that Ghostty reads. The orange badges need OSC 7501. The cross needs OSC 7501, or an OSC 9;4 error that ends the command. A command that exits with an error code and sends no report gets the check mark.
Animations
Go to Settings → Animations. Smooth scrolling, snap to whole row and split animations are on. The cursor effects are off.
| Toggle | Effect |
|---|---|
| Smooth scrolling | Trackpad scrolling and divider drags move by pixels, not by whole rows. Full-screen programs that scroll a region of the screen slide too (less, for example). Programs that redraw every row still move by rows. |
| Snap to whole row | Works with smooth scrolling. Scrolling moves one whole row at a time, and each row slides into place, as less scrolls. It never stops between rows. On by default. |
| Animate splits | Panes slide in and out of the split layout. It turns off by itself when Reduce Motion is on. |
| Smooth cursor | The cursor glides between positions. The text that the cursor passes over has the cursor color, only as far as the cursor covers it. Programs that draw their own cursor (a second cursor in Helix, for example) still move it by cells. |
| Morph cursor while moving | Works with smooth cursor. A block cursor becomes a comet while it moves: a round head where the cursor is, and a body that gets thinner behind it. A faster move makes a longer comet, up to 2.5 cell heights. The cursor lands as a block. A move of one cell height or less has no comet, so typing looks the same. A jump of a few columns or more gets a short comet. A bar, an underline or a hollow block cursor does not change. Off by default. |
| Cursor trail | A fading streak follows the cursor on larger moves. It is under the text. If you use a community trail shader, turn it off. Otherwise you see two trails. |
The Scrolling group and the Cursor group each have a live preview under their toggles. A change of a toggle applies to the preview at once.
- Scrolling: scroll the numbered rows with the wheel or the trackpad.
- Cursor: click anywhere in the text to move the cursor. The cursor has the shape and the blink of your ghostty config (
cursor-style,cursor-style-blink).
Running without a Dock icon
Set macos-hidden = always to run Macterm as an accessory app. Use it to work from the quick terminal. The window, the sidebar, the sessions and every keybind keep working. macterm window focus still brings a window forward.
An accessory app has no menu bar. Settings, Quit, About and Check for Updates lose their keyboard route. Set your Macterm preferences before you turn this on. To go back, set
macos-hidden = neverand reload.