Keyboard Shortcuts
Every shortcut below is rebindable. Open the shortcuts panel with Ctrl+K then Ctrl+B (or search "Keyboard Shortcuts" in the Command Palette) to record a new key combo or reset any shortcut back to its default.
Editor
| Action | Shortcut |
|---|---|
| New Query Tab | Ctrl+T |
| Save Current Tab (as script) | Ctrl+S |
| Close Current Tab | Ctrl+W |
| Open Context Search | Ctrl+E |
| Run Query | Ctrl+Enter |
| Explain Query | Ctrl+Shift+E |
| Explain Analyze | Ctrl+Alt+E |
| Focus Editor | Ctrl+I |
| Format Query | Ctrl+Shift+F |
| Toggle Bookmark | Ctrl+F3 |
| Next Bookmark | F3 |
| Open Schema Diff | Ctrl+Shift+D |
View
| Action | Shortcut |
|---|---|
| Open Settings | Ctrl+, |
| Open Keyboard Shortcuts | Ctrl+K then Ctrl+B |
| Open Command Palette | Ctrl+Shift+P |
| Toggle View Mode (read-only) | Alt+Shift+V |
| Zoom In | Ctrl+= |
| Zoom Out | Ctrl+- |
| Reset Zoom | Ctrl+0 |
Layout
| Action | Shortcut |
|---|---|
| Toggle Left Sidebar | Ctrl+B |
| Toggle Right Sidebar | Ctrl+Alt+B |
| Toggle Result Panel | Ctrl+J |
| Toggle Audit Log | Ctrl+Shift+L |
| Toggle Focus Mode | Ctrl+Alt+Z |
Connection
| Action | Shortcut |
|---|---|
| Open Project Hub | Ctrl+P |
| Switch Environment: Development | Alt+Shift+D |
| Switch Environment: Staging | Alt+Shift+G |
| Switch Environment: Production | Alt+Shift+P |
| Begin Transaction | Ctrl+Shift+7 |
| Commit Transaction | Ctrl+Shift+8 |
| Rollback Transaction | Ctrl+Shift+9 |
App
| Action | Shortcut |
|---|---|
| Lock App | Ctrl+L |
| Reload Application | Ctrl+Shift+R |
Monaco Editor Defaults
These come from the underlying Monaco editor (the same engine behind VS Code) and work whenever the SQL editor is focused. They're standard editor behavior, not part of Zentro's rebindable shortcut list above.
| Action | Shortcut |
|---|---|
| Trigger suggestions | Ctrl+Space |
| Find in editor | Ctrl+F |
| Replace in editor | Ctrl+H |
| Comment / Uncomment line | Ctrl+/ |
| Move line up / down | Alt+↑ / Alt+↓ |
| Copy line up / down | Shift+Alt+↑ / Shift+Alt+↓ |
| Select next occurrence | Ctrl+D |
Result Grid
These apply while the result grid has focus and cells are selected.
| Action | Shortcut |
|---|---|
| Open Row Detail for the selected cell | Tab Tab (press twice quickly) |
| Mark selected rows for deletion | Delete |
| Save pending edits/deletions | Ctrl+S |
| Copy selected cells | Ctrl+C |
| Paste into selected cells | Ctrl+V |