Use Thurm
Tabs and split panes
Section titled “Tabs and split panes”Each pane has its own process and terminal state. A tab can contain several panes. Thurm has one window; use a new workspace when you need another group of tabs.
| Action | Shortcut |
|---|---|
| New tab / workspace | Cmd+T / Cmd+N |
| Close pane / tab | Cmd+W / Cmd+Shift+W |
| Select tab 1 through 8 / last tab | Cmd+1 through Cmd+8 / Cmd+9 |
| Previous / next tab | Cmd+Shift+[ / Cmd+Shift+] |
| Back / forward through the tabs visited | Cmd+[ / Cmd+] |
| Split right / down | Cmd+D / Cmd+Shift+D |
| Move focus between panes | Cmd+Option+Arrow |
| Move a divider | Cmd+Control+Arrow |
| Zoom the current pane | Cmd+Shift+Return |
| Show / hide floating panes | Cmd+Option+Return |
| Equalize split sizes | Cmd+Control+= |
| Command palette | Cmd+Shift+P |
| Workspace switcher | Cmd+Shift+O |
| Agent switcher | Cmd+Shift+A |
Menu items named here (such as Thurm › Remotes…) are in the menu bar and in the command palette.
A floating pane is a card above the tab’s splits. Cmd+Option+Return opens a new shell as one when the tab has none, and otherwise hides the tab’s floating panes or shows them again; hidden, their programs keep running. View › New Floating Pane adds another, and View › Float Pane lifts the current pane out of the splits (the last pane of the splits stays). Drag a card’s header to move it, drag its edges to resize it, and double-click the header to zoom it. To put it in the splits, use View › Dock Pane, or hold Cmd while dragging its header over a pane and drop it on the side where it should go (Esc cancels the drag).
Drag a tab’s row from the sidebar onto the terminal area to float that tab as a card in the tab you’re looking at; its programs keep running and its own floating panes come along. Only a tab with one pane in its splits can float, and only into a tab of the same window and host. View › Float Tab Here (or Float Tab Here in a sidebar row’s menu) does the same. The other way, drag a card’s header onto the sidebar and drop it between two rows to make it a tab of its own there, or use View › Move Floating Pane to New Tab. Esc cancels either drag.
Window › Back returns to the tab you were on before, as in a browser, and
Window › Forward goes forward again after a Back. The history spans every
workspace: going back to a tab of a hidden workspace switches the window to that
workspace. Picking a tab any other way after a Back drops the tabs ahead of it,
and closed tabs are skipped. The quick terminal and the agent wall are not part
of the history. The mouse’s back and forward buttons do the same, also while a
program uses the mouse; set window.mouse_navigation_buttons = false to send them
to the program instead.
Closing a pane stops its process. Quitting the app keeps processes running by default. See Sessions.
Workspaces and sidebar
Section titled “Workspaces and sidebar”A workspace is a named set of tabs. The window shows one workspace at a time;
use the workspace switcher to change it. Shells in hidden workspaces continue
to run. A tab opened for another workspace, such as thurm launch on a remote
host while the window shows a local workspace, goes to that workspace in the
background, and the window says where. Move Tab to New Workspace (or
dragging a tab out of the tab bar) moves a tab into a new workspace.
Move Tab to Workspace (in the Window menu, the command palette, and a
sidebar tab’s context menu) moves it into an existing workspace on the same
host. Its splits and programs move with it. Moving a workspace’s last tab
shows the workspace it moved to, and the emptied workspace closes.
By default, tabs show in a sidebar grouped by repository. To use native tabs in the titlebar:
thurm set window.tab_style nativeUse thurm set window.tab_style sidebar to return to the sidebar.
The View menu changes what the sidebar lists, as do the settings below:
- Group Tabs by Repository (
window.sidebar_group_by_repo, on by default). Off, the tabs form one list in tab order. - Tabs from All Workspaces (
window.sidebar_all_workspaces). Every workspace’s tabs show under a header for the workspace. Click a tab of another workspace to switch to it. Drag a tab onto another workspace to move it there. - Only Active Tabs (
window.sidebar_active_only, or the filter button next to the sidebar button in the titlebar). The sidebar lists only the tabs with an agent that isn’t idle or a program reporting progress, plus the selected tab.
To keep a tab in sight whatever workspace the sidebar shows, right-click it and choose Pin Tab, or use Window > Pin Tab. Pinned tabs show under Pinned at the top of the sidebar, in every workspace, and not again in their own group. Click one from another workspace to switch to it. Only Active Tabs never hides a pinned tab. Pins are kept across restarts.
The Agents panel at the bottom of the sidebar lists every pane running an agent,
in any window or workspace. Drag its header to show more or fewer rows. Click the
header, or use View > Collapse Agents, to fold the panel down to its header, which
keeps showing how many agents are waiting or working. Click it again to bring the list
back. The panel stays folded across restarts. To remove it entirely, turn off
View > Agents in Sidebar (window.sidebar_agents).
When the sidebar is hidden, the filter button beside its toggle becomes + (New Tab). Showing the sidebar restores the filter button, with its setting preserved.
Text, search, and navigation
Section titled “Text, search, and navigation”| Action | Shortcut |
|---|---|
| Copy / paste / select all | Cmd+C / Cmd+V / Cmd+A |
| Find text in scrollback | Cmd+F |
| Find next / previous | Cmd+G / Cmd+Shift+G |
| Clear screen / scrollback | Cmd+K / Cmd+Option+K |
| Delete to line start / go to line start / end | Cmd+Backspace / Cmd+Left / Cmd+Right |
| Increase / decrease / reset font size | Cmd++ / Cmd+- / Cmd+0 |
| Open a URL | Cmd+click |
| Open / reload configuration | Cmd+, / Cmd+Shift+, |
| Secure Keyboard Entry | Cmd+Option+I |
| Full screen | Cmd+Control+F |
| Quit | Cmd+Q |
Change any shortcut in the [keybindings] table of the configuration: a key
combination maps to an action name, or to none to remove it. See
Key bindings for the action names.
Shell integration adds prompt marks and working directory tracking for zsh,
bash, and fish. It also supports completion choices at a shell prompt. Use
thurm scroll prev-prompt or thurm scroll next-prompt to move between marks.
Completion choices for a command come from a spec named <command>.json. Thurm
reads it from ~/.config/thurm/completions first, then from the specs bundled with
the app. A spec can list subcommands, options and values, or tell Thurm to ask the
program itself at each Tab, so the choices match the installed version:
{ "dynamic": { "protocol": "cobra" } }Use cobra for Go programs built with Cobra (they answer __complete). Use
{ "protocol": "clap", "env": "PROG_COMPLETE" } for Rust programs that support
clap’s dynamic completion through that environment variable. If the program can’t
answer, Thurm uses the rest of the spec.
Input and notifications
Section titled “Input and notifications”The Option key is not Alt by default. Set window.option_as_alt to left,
right, or both if your shell tools need Alt key combinations.
Thurm can enable Secure Keyboard Entry when it detects a password prompt. It releases this protection when the app is not in front. It can also ask before a paste with multiple lines when the program does not use bracketed paste mode.
Allow notifications in macOS System Settings to receive agent and command notifications. By default, command notifications apply to commands that take at least 15 seconds and finish in a pane without focus.