Keyboard shortcuts
Every shortcut Solanum starts with, grouped as Settings › Keybindings groups them, and how to change one in the app or in keybindings.json.
Layout
| Shortcut | What it does |
|---|---|
⌘B | Show or hide the workspace and thread sidebar. |
⇧⌘1 | Show the sidebar's Code side: your threads, and the thread you had open. |
⇧⌘2 | Show the sidebar's Bots side: your bots, and the one you had open. |
⌥⌘B | Show or hide the side panel: a thread's, without the workspace's tabs, or a pull request's or an issue's page's. |
⌥⇧⌘B | Give the side panel the whole page, or give the page back. |
⌥⌘1 | Open what the agent changed beside the conversation. |
⌥⌘2 | Open the project's files beside the conversation. |
⌥⌘4 | Open the browser beside the conversation, to preview the app you're building. |
⌥⌘5 | Open the thread's pull requests, and the project's, beside it. |
⌥⌘6 | Open a terminal beside the conversation: the one shown last, or a new shell. |
⌥⌘7 | Open a device, a simulator, emulator, or phone, beside the conversation, to watch and touch. |
⌘J | Show or hide the thread's terminal. |
⇧⌘J | Give the thread's terminal the whole thread, or give the thread back. |
Tabs
These apply once Tabs and split panes is on, in Settings › Experimental.
| Shortcut | What it does |
|---|---|
⌘W | Close the tab shown beside the sidebar; the last one gives way to a new thread. |
⇧⌘T | Open the tab closed last again, like a browser's. |
⇧⌘] | Show the next tab beside the sidebar, round from the last. |
⇧⌘[ | Show the previous tab beside the sidebar, round from the first. |
⌥⌘\ | Split the tab shown off into a pane of its own to the right. |
⌥⇧⌘\ | Split the tab shown off into a pane of its own below. |
Side panel
| Shortcut | What it does |
|---|---|
⌘\ | Show two of a thread's side panel's tabs side by side, or one again, without the workspace's tabs. |
⌥⇧⌘] | Show the next tab of a page's side panel, like the next tab in a browser. |
⌥⇧⌘[ | Show the previous tab of a page's side panel, like the previous tab in a browser. |
⌥⌘↓ | Scroll the changes to the next change, across files. |
⌥⌘↑ | Scroll the changes to the previous change, across files. |
Browser
| Shortcut | What it does |
|---|---|
⌘R | Load the browser's page again, while the browser has focus. |
⌘L | Select the browser's address to type another, while the browser has focus. |
⌘= | Make the browser's page bigger, while the browser has focus. |
⌘- | Make the browser's page smaller, while the browser has focus. |
⌘0 | Show the browser's page at its own size, while the browser has focus. |
Threads
| Shortcut | What it does |
|---|---|
⌘F | Search the thread's conversation, older turns too; or, in a tab of files, a file, changes, or a page, what it shows. |
⌘P | Find a file of the thread's folder by name and open it beside the thread, those its agent read or changed first. |
⇧⌘F | Search what the thread's folder's files hold, as typed, as a whole word, or as a regular expression, and open a line found beside the thread. |
⇧⌘S | Move the open thread to the Settled shelf, or bring it back. |
⌘Z | Bring back the thread settled, snoozed, or archived last, as it was, unless you've typed since. |
⌘S | Put what you're writing aside, files and all, to send somewhere else; in an empty prompt, bring back the latest. |
⌥↑ | In a thread's composer, with the cursor at its start, open the message queued last to edit, as its pencil does. |
⇧⌘M | Open the composer's model picker, to search the profiles' models. |
⇧⌘E | Open the composer's model picker, where effort and the context window are set. |
⇧⌘A | Open the composer's model picker, where access is set along its foot. |
⌥⌘[ | Open the thread above the open one in the sidebar's list. |
⌥⌘] | Open the thread below the open one in the sidebar's list. |
⌘1 | Open the first thread in the sidebar's list. |
⌘2 | Open the second thread in the sidebar's list. |
⌘3 | Open the third thread in the sidebar's list. |
⌘4 | Open the fourth thread in the sidebar's list. |
⌘5 | Open the fifth thread in the sidebar's list. |
⌘6 | Open the sixth thread in the sidebar's list. |
⌘7 | Open the seventh thread in the sidebar's list. |
⌘8 | Open the eighth thread in the sidebar's list. |
⌘9 | Open the ninth thread in the sidebar's list. |
⌥⌘N | Start a thread in a folder of its own, for a question or a quick script. |
⌘O | Open the project in the editor you used last. |
⇧⌘R | Run the project action you used last, in its own terminal tab. |
⇧⌘H | Open Run on, to choose which machine a new thread runs on. |
Workspaces
| Shortcut | What it does |
|---|---|
⌥⌘← | Move to the workspace on the left, like swiping right on the sidebar. |
⌥⌘→ | Move to the workspace on the right, like swiping left on the sidebar. |
Terminal
| Shortcut | Windows and Linux | What it does |
|---|---|---|
⌘T | Ctrl+Shift+T | Open a shell in a new terminal tab, while a terminal has focus. |
⌘D | Ctrl+Shift+E | Open a shell beside the focused terminal, while a terminal has focus. |
⇧⌘D | Ctrl+Shift+O | Open a shell below the focused terminal, while a terminal has focus. |
⌘L | Ctrl+Shift+L | Add the text selected in the terminal to the next message, while a terminal has focus. |
⌘A | Ctrl+Shift+A | Select everything the terminal keeps, its scrollback too, while a terminal has focus. |
⇧⌘↖ | Ctrl+Shift+Home | Scroll to the start of what the terminal keeps, while a terminal has focus; a full-screen program keeps the keys. |
⇧⌘↘ | Ctrl+Shift+End | Scroll back down to the latest output, while a terminal has focus; a full-screen program keeps the keys. |
⌘[ | Ctrl+Shift+P | Move to the previous terminal in a split, while a terminal has focus. |
⌘] | Ctrl+Shift+N | Move to the next terminal in a split, while a terminal has focus. |
App
| Shortcut | What it does |
|---|---|
⌘[ | Go back to the thread or place you had open before, as a browser's back does. |
⌘] | Go forward again to the thread or place you went back from. |
F6 | Move the keyboard to the next part of the window: the sidebar, the conversation, the message, the side panel, and the terminal. |
⇧F6 | Move the keyboard to the part of the window before, the other way round. |
⌘K | Search threads, projects, pull requests, and settings, and run actions. |
⇧⌘G | Show the pull and merge requests of the workspace's projects. |
⇧⌘I | Show the issues of the workspace's projects. |
⌘, | Show agents, new thread defaults, and keyboard shortcuts. |
Change a shortcut
Open Settings › Keybindings, find the shortcut, select its keys and press the new ones. A shortcut needs ⌘ or ⌥ with its key, or a function key alone. Each row can also take more keys, lose the keys it has, or go back to its own.
Solanum keeps your changes in keybindings.json, in its data folder, and reads the file again whenever it changes. Open keybindings.json on that page opens it in your editor.
| System | Where the file is |
|---|---|
| macOS | ~/Library/Application Support/Solanum/keybindings.json |
| Windows | %APPDATA%\Solanum\keybindings.json |
| Linux | ~/.config/Solanum/keybindings.json |
Write keybindings.json
The file holds one list of entries. Comments and trailing commas are allowed.
[
{ "key": "mod+shift+f", "command": "searchFiles" },
{ "key": "mod+k", "command": "commandPalette", "when": "!terminalFocus && !textFocus" },
{ "key": "mod+p", "command": "-goToFile" }
]- key
The keys, joined with
+: any ofmod,altandshift, then one key.modis⌘on macOS and Ctrl elsewhere. Keys with names areenter,escape,space,tab,backspace,delete,home,end,pageup,pagedown,up,down,left,right, andf1tof24.- command
The shortcut's id. Hover a shortcut's keys in Settings › Keybindings to see it.
- when
Optional. Where the entry applies. Without it, the shortcut applies where it does by default.
A shortcut's entries take the place of its own keys. Where two entries take the same keys, the later one wins. An id with - first, as in -goToFile, takes those keys away from that shortcut.
A when joins these names with !, &&, || and brackets:
- terminalFocus
A terminal has the keyboard, in the drawer or the side panel.
- panelFocus
You're working in the side panel, where you last clicked.
- textFocus
A text field has the keyboard, such as the message you're writing.
- isMac
Solanum runs on macOS.
- isWindows
Solanum runs on Windows.
- isLinux
Solanum runs on Linux.
If the file can't be read, or an entry names a shortcut or key Solanum doesn't know, a notice says which entry and why, and Settings › Keybindings lists each problem. The rest of the file still applies.