Keyboard Shortcuts
Complete keyboard shortcut reference for tpaw — navigate, query, edit, and manage your database without reaching for the mouse.
tpaw is built for keyboard-first workflows. Most actions that require clicking a button can also be triggered with a keyboard shortcut. This page is a complete reference for all shortcuts.
These shortcuts work from anywhere in the app.
| Shortcut | Action |
|---|
Cmd+K | Open command palette — jump to any table, view, or saved query |
Cmd+Shift+F | Toggle Focus Mode (hides sidebar and tab bar) |
Cmd+T | New Query Editor tab |
Cmd+W | Close current tab |
Cmd+N | New connection |
Cmd+, | Open Settings |
Escape | Close modal or dismiss popover |
| Shortcut | Action |
|---|
Cmd+Enter | Execute current statement (at cursor position) |
Cmd+Shift+Enter | Execute all statements in the editor |
Cmd+I | Format SQL (entire editor or current selection) |
Cmd+/ | Toggle line comment (-- comment) |
Cmd+Z | Undo |
Cmd+Shift+Z | Redo |
Cmd+A | Select all |
Cmd+F | Find in editor |
Cmd+H | Find and replace in editor |
Cmd+G | Go to line number |
Tab | Accept autocomplete suggestion |
Escape | Dismiss autocomplete |
| Shortcut | Action |
|---|
Cmd+Enter | Confirm and execute |
Escape | Cancel, dismiss dialog |
| Shortcut | Action |
|---|
| Arrow keys | Navigate cells |
Enter / F2 | Enter edit mode for selected cell |
Enter (while editing) | Commit cell edit |
Escape | Cancel cell edit |
Tab | Move to next cell |
Shift+Tab | Move to previous cell |
Cmd+L | Toggle edit mode (lock/unlock) |
Cmd+I | Insert row (opens insert modal) |
Cmd+D | Duplicate selected row |
Cmd+F | Open filter popover |
Cmd+R | Refresh table data |
Cmd+Enter | Confirm mutation (in confirmation modal) |
Escape | Cancel edit or close modal |
Delete / Backspace | Clear focused cell value |
Cmd+C | Copy selected cell value |
Cmd+S | Save pending edits |
| Shortcut | Action |
|---|
Cmd+Shift+F | Focus schema search input |
| Shortcut | Action |
|---|
Cmd+1 through Cmd+9 | Switch to tab by position |
| Shortcut | Action |
|---|
Escape | Close / Cancel |
Enter | Confirm (where a default confirm button is focused) |
Cmd+Enter | Confirm mutation dialog |
- Command palette (
Cmd+K) is the fastest way to navigate — type any table name, view name, or saved query name and press Enter
- Focus Mode (
Cmd+Shift+F) is great for writing complex queries — removes visual noise
- Multi-statement execution (
Cmd+Shift+Enter) runs your entire migration or seed script in one shot, with results for each statement