Macterm

Command palette

Press ⌘P. One list searches everything:

To open a folder as a project, type a path that starts with / or ~. The palette changes to path mode and completes folder names.

To add a remote project, type a spec such as devbox:~/dev/api. See remote projects.

Some commands open a screen of their own in the palette. A pill above the palette names the screen. In the list, a row for such a screen shows the icon of the screen and a chevron. A screen can open another screen. The pills then show a trail, with the root first. Click a pill to go back to it. Press Esc to go back one screen. You can also press Delete with nothing typed. A held Delete clears the search and stops at the empty field.

A screen that must wait for its list shows a spinner. If the list fails, the screen says why and shows a Retry button. ⌘R also retries.

Some rows have a second action under ⌥. Hold the key. The subtitle of the row then names what ⌥↩ (or an ⌥-click) does.

Each screen can have its own keybind in Settings → Keymaps, under Palettes, next to ⌘P. No screen has a keybind by default. The keybind opens the palette on that screen. Press it again on that screen to close the palette. Press it on another screen to go to its screen.

Extensions

Extensions add screens. You can install an extension from the Macterm repository, or write your own extension in ~/.config/macterm/extensions/. Each palette of an extension is a YAML file. The output of a command becomes rows that you can search. Each row opens another screen, or runs a command in a new tab or split. For example, a Kubernetes palette goes from namespaces to pods to the logs of a pod. Each palette is in the Palettes section, next to the built-in screens.

See extensions for the file format and examples. The cookbook has a complete Kubernetes palette.

Settings → Extensions

Settings shows every extension as a card in one grid that you can search by name. The grid has the extensions that you installed, in ~/.config/macterm/extensions/. It also has the extensions in the Macterm repository that you did not install. The installed extensions come first, and each group is in order of name. To show only one group, use the menu next to the search field: All, Installed or Not Installed. A card shows the name and the description of the extension. An extension can bring several palettes. Each card has one button:

If an extension has a file that Macterm cannot read, its card shows a warning. Macterm reads the extensions of the repository when you open the pane, at most one time each hour. They do not depend on your version of Macterm. An extension that works keeps working after every update. If an extension needs a newer Macterm, the card says so. You can install it after you update. The built-in screens (Password Manager, Worktrees and Files) are not extensions and are not in the list.