Docs / Keyboard shortcuts
Keyboard shortcuts
Every QueryBench shortcut on one page. Use Ctrl in place of ⌘ on Windows and Linux.
Workspace
| Shortcut | Action |
|---|---|
| ⌘ K | Manage connections |
| ⌘ T | New query tab |
| ⌘ W | Close the current tab |
| ⌥ ⌘ S | Show or hide the sidebar |
| ⌥ ⌘ 0 | Show or hide the row inspector |
| ⌘ R | Refresh table data |
| ⌥ ⌘ R | Reload the current tab |
| ⇧ ⌘ R | Reconnect |
| ⌥ ⌘ . | Disconnect |
| ⌘ . | Processes & Queries |
| ⌘ , | Settings |
Grid
| Shortcut | Action |
|---|---|
| ↑ / ↓ | Move row selection and focus |
| ⇧ + click | Select a range |
| Enter | Edit the focused cell |
| Right-click | Copy the cell value, copy rows in several formats, or paste |
| ⌘ ⌫ | Stage deletion of selected rows |
| ⌘ Z | Undo staged changes |
| ⌘ S | Commit staged changes |
Editor
| Shortcut | Action |
|---|---|
| ⌘ Enter | Run the selected or current statement |
| ⇧ ⌘ Enter | Run all statements |
| Double-click empty tab strip | New query tab |