Reference
Keyboard Shortcuts
Complete reference for all keyboard shortcuts in data-peek
Keyboard Shortcuts
data-peek is designed for keyboard-first navigation. Nearly every action in the editor, grid, sidebar, and tab bar can be driven from the keyboard.
Global & Navigation
These shortcuts work from anywhere in the application.
| Action | macOS | Windows/Linux |
|---|---|---|
| Command Palette | Cmd+K | Ctrl+K |
| Connection Switcher | Cmd+P | Ctrl+P |
| Switch Connection 1–9 | Cmd+Shift+1 to Cmd+Shift+9 | Ctrl+Shift+1 to Ctrl+Shift+9 |
| Toggle AI Assistant | Cmd+I | Ctrl+I |
| Toggle Sidebar | Cmd+B | Ctrl+B |
| Focus Sidebar Omnibar | / | / |
| Open Saved Queries | Cmd+Shift+S | Ctrl+Shift+S |
| Open Settings | Cmd+, | Ctrl+, |
| Toggle DevTools | F12 | F12 |
| Zoom In | Cmd++ | Ctrl++ |
| Zoom Out | Cmd+- | Ctrl+- |
| Reset Zoom | Cmd+0 | Ctrl+0 |
| Toggle Fullscreen | Cmd+Ctrl+F | F11 |
Pressing / focuses the sidebar omnibar when you are not currently editing text inside an input, textarea, contenteditable element, or the SQL editor.
SQL Query Editor
Shortcuts active when the Monaco SQL editor is focused.
| Action | macOS | Windows/Linux |
|---|---|---|
| Execute Query | Cmd+Enter | Ctrl+Enter |
| Start Step-Through Execution | Cmd+Shift+Enter | Ctrl+Shift+Enter |
| Run Next Step | Shift+Enter | Shift+Enter |
| Stop Step-Through | Escape | Escape |
| Format SQL | Cmd+Shift+F | Ctrl+Shift+F |
| Trigger Autocomplete | Ctrl+Space | Ctrl+Space |
| Find in Editor | Cmd+F | Ctrl+F |
| Replace in Editor | Cmd+Option+F | Ctrl+H |
| Clear Results | Cmd+Shift+Backspace | Ctrl+Shift+Backspace |
| Toggle Watch Mode | Cmd+Shift+W | Ctrl+Shift+W |
| Toggle Time Machine | Cmd+Shift+H | Ctrl+Shift+H |
| Cut | Cmd+X | Ctrl+X |
| Copy | Cmd+C | Ctrl+C |
| Paste | Cmd+V | Ctrl+V |
| Undo | Cmd+Z | Ctrl+Z |
| Redo | Cmd+Shift+Z | Ctrl+Shift+Z |
| Select All | Cmd+A | Ctrl+A |
Results, Filtering & Sorting
Shortcuts for navigating results and filtering or sorting table data.
| Action | macOS | Windows/Linux |
|---|---|---|
| Focus Smart Filter Bar | Cmd+F | Ctrl+F |
| Open Smart Sort Bar | Cmd+Shift+S | Ctrl+Shift+S |
| Move Between Cells | ↑ ↓ ← → | ↑ ↓ ← → |
| First / Last Cell in Row | Home / End | Home / End |
| First / Last Cell Overall | Cmd+Home / Cmd+End | Ctrl+Home / Ctrl+End |
| Jump 20 Rows | PageUp / PageDown | PageUp / PageDown |
| Copy Focused Cell | Cmd+C | Ctrl+C |
| Open Cell Inspector | Enter | Enter |
| Close Cell Inspector | Escape | Escape |
| Navigate Foreign Key | Cmd+Click | Ctrl+Click |
Cmd/Ctrl+Ffocus conditions: When the SQL editor has focus,Cmd/Ctrl+Fopens editor search. Whenever focus is outside the SQL editor (including the results grid, sidebar, and other non-editor areas),Cmd/Ctrl+Ffocuses the mounted Smart Filter bar.Cmd/Ctrl+Shift+Sfocus & menu overlap: When focus is outside the SQL editor and unrelated input, textarea, or contenteditable elements,Cmd/Ctrl+Shift+Sactivates the Smart Sort bar on tabs where sorting is available. Note that this shortcut currently overlaps with the application menu accelerator for Saved Queries.
Inline Data Editing
Shortcuts active when editing cells directly within table preview results.
| Action | macOS | Windows/Linux |
|---|---|---|
| Save Pending Changes | Cmd+S | Ctrl+S |
| Discard All Changes | Cmd+Shift+Z | Ctrl+Shift+Z |
| Add New Row | Cmd+Shift+A | Ctrl+Shift+A |
| Confirm Cell Edit | Enter | Enter |
| Cancel Cell Edit | Escape | Escape |
| Move to Next Cell | Tab | Tab |
Tabs & Windows
| Action | macOS | Windows/Linux |
|---|---|---|
| New Tab | Cmd+T | Ctrl+T |
| Close Tab | Cmd+W | Ctrl+W |
| Jump to Tab 1–9 | Cmd+1 to Cmd+9 | Ctrl+1 to Ctrl+9 |
| Next Tab | Cmd+Option+→ | Ctrl+Alt+→ |
| Previous Tab | Cmd+Option+← | Ctrl+Alt+← |
| New Window | Cmd+Shift+N | Ctrl+Shift+N |
| Close Window | Cmd+W | Alt+F4 |
Dashboard
Shortcuts active when viewing a dashboard tab.
| Action | macOS | Windows/Linux |
|---|---|---|
| Refresh Dashboard | R | R |
| Toggle Edit Mode | E | E |
| Add Widget | N or A | N or A |
| Exit Edit Mode | Escape | Escape |
Application
System and window management shortcuts.
| Action | macOS | Windows/Linux |
|---|---|---|
| Quit | Cmd+Q | Alt+F4 |
| Hide Application | Cmd+H | - |
| Minimize Window | Cmd+M | - |
Tips
- Press
Cmd+K/Ctrl+Kto open the Command Palette for quick access to all features, actions, and settings. - Global and connection shortcuts work from anywhere in the window regardless of which panel currently has focus.
- Editor-specific shortcuts (execution, formatting, find) require active cursor focus inside the SQL editor.