Keyboard shortcuts
These keys work in a database’s editor.
| Keys | Where | What they do |
|---|---|---|
| Ctrl+` | anywhere on the page, macOS included | open the REPL, or hide the panel when the REPL is shown |
| ⌘Z and ⇧⌘Z on macOS; Ctrl+Z, Ctrl+Shift+Z, and Ctrl+Y elsewhere | anywhere but an editable field or code editor, the console, a select, or a dialog, once the database is ready | undo and redo the database |
| ⌘Enter or Ctrl+Enter | a query’s formula, in the Editor or in its view | run or stop the query |
| Escape | a formula being edited in its view | stop editing and return the focus to where editing started |
| Enter | a source in a sidebar | open it and move focus into it |
| Left, Right, Up, Down, Home, End | a tab strip | select the previous or the next tab, wrapping at the ends, or the first or the last |
| Left, Right, Home, End, then Enter or Space | the panel’s tabs | move focus, then open |
| Left, Right | the sidebar’s edge | narrow or widen the sidebar; Right opens a hidden one |
| Up, Down | a separator between sections | move it |
| Up, Down, Home, End | the panel’s edge | raise or lower the panel, or make it its smallest or its largest |
| arrows, Shift+arrows, Home, End | a separator between panes | move it by a step, a larger step, or to an end |