Zentro is under active development — some pages here may be incomplete or out of date. Report an issue
Features
Keyboard Shortcuts

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

ActionShortcut
New Query TabCtrl+T
Save Current Tab (as script)Ctrl+S
Close Current TabCtrl+W
Open Context SearchCtrl+E
Run QueryCtrl+Enter
Explain Query (while the SQL editor has focus)Ctrl+Shift+E
Explain AnalyzeCtrl+Alt+E
Focus EditorCtrl+I
Format QueryCtrl+Shift+F
Toggle BookmarkCtrl+F3
Next BookmarkF3
Open Schema DiffCtrl+Shift+D

Tabs

ActionShortcut
Switch to the most recently used tabCtrl+Tab
Step through recent tabs the other wayCtrl+Shift+Tab
Next Tab (left to right)Ctrl+PageDown
Previous Tab (right to left)Ctrl+PageUp
Go to Tab 1 … 9Ctrl+1 … Ctrl+9
Focus the Tab StripAlt+Shift+T

Ctrl+Tab works like the switcher in your browser or VS Code. Press it once and release to jump to the tab you used just before this one — press it again to come back. To go further back, keep Ctrl held and press Tab again: a list of your tabs appears, each press moves to the next most recently used one, and releasing Ctrl switches to the highlighted tab. Ctrl+Shift+Tab steps through the same list in the opposite direction. It needs at least two open tabs.

Use Ctrl+PageDown / Ctrl+PageUp when you'd rather move to the neighbouring tab in the order they appear in the tab strip.

With the tab strip focused (Alt+Shift+T), Enter activates the focused tab. Press Space to pick a tab up, move it with the arrow keys, and press Space again to drop it; Escape cancels the move.

View

ActionShortcut
Open SettingsCtrl+,
Open Keyboard ShortcutsCtrl+K then Ctrl+B
Open Command PaletteCtrl+Shift+P
Toggle View Mode (read-only)Alt+Shift+V
Zoom InCtrl+=
Zoom OutCtrl+-
Reset ZoomCtrl+0

Layout

ActionShortcut
Toggle Left SidebarCtrl+B
Toggle Right SidebarCtrl+Alt+B
Toggle Result PanelCtrl+J
Toggle Audit LogCtrl+Shift+L
Toggle Focus ModeCtrl+Alt+Z

Connection

ActionShortcut
Open Project HubCtrl+P
Switch Environment: DevelopmentAlt+Shift+D
Switch Environment: StagingAlt+Shift+G
Switch Environment: ProductionAlt+Shift+P
Begin TransactionCtrl+Shift+7
Commit TransactionCtrl+Shift+8
Rollback TransactionCtrl+Shift+9

App

ActionShortcut
Lock AppCtrl+L
Reload ApplicationCtrl+Shift+R

Keyboard-Only Navigation

You can reach every main area of the app without the mouse. These shortcuts move keyboard focus to a specific area:

ActionShortcut
Focus EditorCtrl+I
Focus Editor ToolbarCtrl+K then Ctrl+T
Focus Result GridCtrl+Shift+G
Focus Tab StripAlt+Shift+T
Focus Database Explorer (when the SQL editor doesn't have focus)Ctrl+Shift+E
Focus the ERD diagram (with an ERD tab open)Ctrl+Shift+M
Open the context menu for the focused itemF4

Ctrl+Shift+E runs Explain Query while the SQL editor has focus and moves focus to the explorer everywhere else.

Explorer

The explorer is a single tab stop, so Tab doesn't make you step through every row. Once inside:

  • ↑ / ↓ move between rows (and between the categories above the list such as Tables and Views); Enter or Space selects the focused category.
  • → expands a schema and ← collapses it.
  • Enter or Space on a schema toggles it; on an object, it opens it, the same as a click.

Result grid

With the grid focused:

  • The arrow keys move the active cell.
  • Enter or F2 on a single selected cell starts editing it, the same as a double-click.
  • Escape clears the selection and returns focus to the editor toolbar, so you can jump into the grid with Ctrl+Shift+G and back out again. While you're editing a cell, Enter and Escape belong to the cell editor instead.

Command palette

Open the Command Palette with Ctrl+Shift+P and type part of an open tab's name: matching tabs appear in an Open Tabs group, and Enter switches to the tab you've highlighted.

For the ERD diagram's own keys, see ERD Visualization.

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.

ActionShortcut
Trigger suggestionsCtrl+Space
Find in editorCtrl+F
Replace in editorCtrl+H
Comment / Uncomment lineCtrl+/
Move line up / downAlt+↑ / Alt+↓
Copy line up / downShift+Alt+↑ / Shift+Alt+↓
Select next occurrenceCtrl+D

Result Grid

These apply while the result grid has focus and cells are selected.

ActionShortcut
Open Row Detail for the selected cellTab Tab (press twice quickly)
Move the active cellArrow keys
Edit the selected cellEnter or F2
Clear the selection and return to the editor toolbarEscape
Mark selected rows for deletionDelete
Save pending edits/deletionsCtrl+S
Copy selected cellsCtrl+C
Paste into selected cellsCtrl+V