ventgrisdocs

Reference

Keyboard shortcuts

Every keyboard shortcut of the workspace interface, the editor, sessions, dialogs and the terminal, on macOS and on Windows or Linux.

View .md

The workspace interface works without a mouse for the common paths: open anything with the palette, switch tabs, send a message, save a file. On macOS the modifier is ⌘ (Command). On Windows and Linux it is Ctrl. The tables below write ⌘ and mean Ctrl on those systems, unless a line says otherwise.

Everywhere in the workspace

Shortcut What it does
⌘K Open or close the command palette: modules, files, actions. See Interface tour
⌘O Open or close the workspace switcher, to go to another workspace of your organizations
Ctrl + ` Open a new terminal (Ctrl on every system, also on macOS)
⌘1 to ⌘9 Go to the first to ninth open tab
Esc Close the palette, the switcher, a dialog or a menu

Inside a terminal, ⌘K and ⌘1 to ⌘9 still reach the interface on macOS. Ctrl+K is left to the shell, so the readline shortcut keeps working.

Palette and switcher

Shortcut What it does
Type Filter the list
↑ / ↓ Move the selection
Enter Open the selected item, or go to the selected workspace
Esc Close

Sessions

Shortcut What it does
Enter Send the message
Shift+Enter New line in the message
⌘Enter Send, even with Shift held
Esc Interrupt the turn that is running

In the image viewer of a session (an attachment or a screenshot opened full size):

Shortcut What it does
← / → Previous or next image
Esc Back to the grid, then close

Files and editor

Shortcut What it does
⌘S Save the file
Tab / Shift+Tab Indent or unindent the selection
Esc Close the context menu of the file tree
⌘Enter Run the query in the SQLite view of a .db file

The editor also has the standard shortcuts of its engine (CodeMirror): ⌘F to search, ⌘Z and ⌘⇧Z to undo and redo, ⌘/ to comment a line, Alt + drag for a rectangular selection. See Files and editor.

Dialogs and second factor

Shortcut What it does
Enter Confirm the dialog, or submit the code of the second factor
Esc Cancel

Terminal

The terminal passes keys to the shell. Copy with ⌘C on macOS when text is selected, paste with ⌘V. On Windows and Linux, Ctrl+C stays the interrupt signal of the shell. See copy, paste and keys for each system.

On this documentation site

Shortcut What it does
/ or ⌘K Search the documentation
↑ / ↓, Enter Move in the results, open one
Esc Close the search