tpaw Docs

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.

Global shortcuts

These shortcuts work from anywhere in the app.

ShortcutAction
Cmd+KOpen command palette — jump to any table, view, or saved query
Cmd+Shift+FToggle Focus Mode (hides sidebar and tab bar)
Cmd+TNew Query Editor tab
Cmd+WClose current tab
Cmd+NNew connection
Cmd+,Open Settings
EscapeClose modal or dismiss popover

Query Editor

ShortcutAction
Cmd+EnterExecute current statement (at cursor position)
Cmd+Shift+EnterExecute all statements in the editor
Cmd+IFormat SQL (entire editor or current selection)
Cmd+/Toggle line comment (-- comment)
Cmd+ZUndo
Cmd+Shift+ZRedo
Cmd+ASelect all
Cmd+FFind in editor
Cmd+HFind and replace in editor
Cmd+GGo to line number
TabAccept autocomplete suggestion
EscapeDismiss autocomplete

Mutation confirmation dialog

ShortcutAction
Cmd+EnterConfirm and execute
EscapeCancel, dismiss dialog

Data Grid

ShortcutAction
Arrow keysNavigate cells
Enter / F2Enter edit mode for selected cell
Enter (while editing)Commit cell edit
EscapeCancel cell edit
TabMove to next cell
Shift+TabMove to previous cell
Cmd+LToggle edit mode (lock/unlock)
Cmd+IInsert row (opens insert modal)
Cmd+DDuplicate selected row
Cmd+FOpen filter popover
Cmd+RRefresh table data
Cmd+EnterConfirm mutation (in confirmation modal)
EscapeCancel edit or close modal
Delete / BackspaceClear focused cell value
Cmd+CCopy selected cell value
Cmd+SSave pending edits

Database Browser (sidebar)

ShortcutAction
Cmd+Shift+FFocus schema search input
ShortcutAction
Cmd+1 through Cmd+9Switch to tab by position

Modals and dialogs

ShortcutAction
EscapeClose / Cancel
EnterConfirm (where a default confirm button is focused)
Cmd+EnterConfirm mutation dialog

Tips for power users

  • 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

On this page