Download
Reference

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

ShortcutWhat it does
⌘BShow or hide the workspace and thread sidebar.
⇧⌘1Show the sidebar's Code side: your threads, and the thread you had open.
⇧⌘2Show the sidebar's Bots side: your bots, and the one you had open.
⌥⌘BShow or hide the side panel: a thread's, without the workspace's tabs, or a pull request's or an issue's page's.
⌥⇧⌘BGive the side panel the whole page, or give the page back.
⌥⌘1Open what the agent changed beside the conversation.
⌥⌘2Open the project's files beside the conversation.
⌥⌘4Open the browser beside the conversation, to preview the app you're building.
⌥⌘5Open the thread's pull requests, and the project's, beside it.
⌥⌘6Open a terminal beside the conversation: the one shown last, or a new shell.
⌥⌘7Open a device, a simulator, emulator, or phone, beside the conversation, to watch and touch.
⌘JShow or hide the thread's terminal.
⇧⌘JGive 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.

ShortcutWhat it does
⌘WClose the tab shown beside the sidebar; the last one gives way to a new thread.
⇧⌘TOpen 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

ShortcutWhat 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

ShortcutWhat it does
⌘RLoad the browser's page again, while the browser has focus.
⌘LSelect 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.
⌘0Show the browser's page at its own size, while the browser has focus.

Threads

ShortcutWhat it does
⌘FSearch the thread's conversation, older turns too; or, in a tab of files, a file, changes, or a page, what it shows.
⌘PFind a file of the thread's folder by name and open it beside the thread, those its agent read or changed first.
⇧⌘FSearch 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.
⇧⌘SMove the open thread to the Settled shelf, or bring it back.
⌘ZBring back the thread settled, snoozed, or archived last, as it was, unless you've typed since.
⌘SPut 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.
⇧⌘MOpen the composer's model picker, to search the profiles' models.
⇧⌘EOpen the composer's model picker, where effort and the context window are set.
⇧⌘AOpen 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.
⌘1Open the first thread in the sidebar's list.
⌘2Open the second thread in the sidebar's list.
⌘3Open the third thread in the sidebar's list.
⌘4Open the fourth thread in the sidebar's list.
⌘5Open the fifth thread in the sidebar's list.
⌘6Open the sixth thread in the sidebar's list.
⌘7Open the seventh thread in the sidebar's list.
⌘8Open the eighth thread in the sidebar's list.
⌘9Open the ninth thread in the sidebar's list.
⌥⌘NStart a thread in a folder of its own, for a question or a quick script.
⌘OOpen the project in the editor you used last.
⇧⌘RRun the project action you used last, in its own terminal tab.
⇧⌘HOpen Run on, to choose which machine a new thread runs on.

Workspaces

ShortcutWhat 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

ShortcutWindows and LinuxWhat it does
⌘TCtrl+Shift+TOpen a shell in a new terminal tab, while a terminal has focus.
⌘DCtrl+Shift+EOpen a shell beside the focused terminal, while a terminal has focus.
⇧⌘DCtrl+Shift+OOpen a shell below the focused terminal, while a terminal has focus.
⌘LCtrl+Shift+LAdd the text selected in the terminal to the next message, while a terminal has focus.
⌘ACtrl+Shift+ASelect everything the terminal keeps, its scrollback too, while a terminal has focus.
⇧⌘↖Ctrl+Shift+HomeScroll to the start of what the terminal keeps, while a terminal has focus; a full-screen program keeps the keys.
⇧⌘↘Ctrl+Shift+EndScroll back down to the latest output, while a terminal has focus; a full-screen program keeps the keys.
⌘[Ctrl+Shift+PMove to the previous terminal in a split, while a terminal has focus.
⌘]Ctrl+Shift+NMove to the next terminal in a split, while a terminal has focus.

App

ShortcutWhat 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.
F6Move the keyboard to the next part of the window: the sidebar, the conversation, the message, the side panel, and the terminal.
⇧F6Move the keyboard to the part of the window before, the other way round.
⌘KSearch threads, projects, pull requests, and settings, and run actions.
⇧⌘GShow the pull and merge requests of the workspace's projects.
⇧⌘IShow 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.

SystemWhere 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.

json
[
  { "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 of mod, alt and shift, then one key. mod is ⌘ on macOS and Ctrl elsewhere. Keys with names are enter, escape, space, tab, backspace, delete, home, end, pageup, pagedown, up, down, left, right, and f1 to f24.

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.