Documentation Index
Fetch the complete documentation index at: https://docs.tablepro.app/llms.txt
Use this file to discover all available pages before exploring further.
Keyboard Shortcuts
TablePro is keyboard-driven. Most actions have shortcuts, and most menu shortcuts are rebindable.
Quick Reference
Essential Shortcuts
| Action | Shortcut |
|---|
| Execute query | Cmd+Enter |
| New connection | Cmd+N |
| Open history | Cmd+Y |
| Settings | Cmd+, |
| Quick Switcher | Cmd+Shift+O |
| Switch database | Cmd+K |
| Close window | Cmd+W |
| Quit | Cmd+Q |
SQL Editor
File Operations
| Action | Shortcut |
|---|
| Open SQL file | Cmd+O |
| Save file | Cmd+S |
| Save As | Cmd+Shift+S |
Query Execution
| Action | Shortcut | Description |
|---|
| Execute query | Cmd+Enter | Run query at cursor. Shows parameter panel if :name placeholders are detected |
| Execute all statements | Cmd+Shift+Enter | Run all statements in the editor. Shows parameter panel if parameters are detected |
| Cancel query | Cmd+. | Stop the currently running query |
| Explain query | Option+Cmd+E | Show execution plan for query at cursor |
| Format SQL | Cmd+Shift+L | Format SQL query |
Text Editing
| Action | Shortcut | Description |
|---|
| Select all | Cmd+A | Selects every line, including the final line when the document ends with a trailing newline |
| Cut | Cmd+X | Cuts the selection. With no selection, cuts the current line including its line break |
| Copy | Cmd+C | |
| Paste | Cmd+V | |
| Undo | Cmd+Z | |
| Redo | Cmd+Shift+Z | |
| Delete line | Cmd+Shift+K | |
| Duplicate line | Cmd+Shift+D | |
Navigation
| Action | Shortcut |
|---|
| Start of line | Home or Cmd+Left |
| End of line | End or Cmd+Right |
| Start of document | Cmd+Home or Cmd+Up |
| End of document | Cmd+End or Cmd+Down |
| Move line up | Option+Up |
| Move line down | Option+Down |
| Center cursor in view | Ctrl+L |
Find and Replace
| Action | Shortcut |
|---|
| Find | Cmd+F |
| Find and replace | Cmd+Option+F |
| Find next | Cmd+G |
| Find previous | Cmd+Shift+G |
Selection
| Action | Shortcut |
|---|
| Expand selection | Cmd+Shift+Right |
| Shrink selection | Cmd+Shift+Left |
Data Grid
Navigation
| Action | Shortcut |
|---|
| Move between cells | Arrow keys |
| Next cell | Tab |
| Previous cell | Shift+Tab |
| First row | Home |
| Last row | End |
| Page up | Page Up |
| Page down | Page Down |
Editing
| Action | Shortcut |
|---|
| Edit cell | Enter |
| Preview FK reference | Space |
| Cancel edit | Escape |
| Add row | Cmd+Shift+N |
| Duplicate row | Cmd+Shift+D |
| Delete row | Delete or Backspace |
| Commit changes | Cmd+S |
Data Changes
| Action | Shortcut | |
|---|
| Undo change | Cmd+Z | |
| Redo change | Cmd+Shift+Z | |
| Commit all changes | Cmd+S | |
| Preview SQL | Cmd+Shift+P | Preview pending SQL before commit |
Selection
| Action | Shortcut |
|---|
| Select cell | Click |
| Select row | Click row number |
| Select multiple cells | Click + drag |
| Extend selection | Shift + click |
| Add to selection | Cmd + click |
| Extend selection by row | Shift+Up / Shift+Down |
| Select to first row | Shift+Home |
| Select to last row | Shift+End |
| Extend selection by page | Shift+Page Up / Shift+Page Down |
| Select all | Cmd+A |
Clipboard
| Action | Shortcut |
|---|
| Copy selection | Cmd+C |
| Copy with Headers | Cmd+Shift+C |
| Copy as JSON | Cmd+Option+J |
| Copy as TSV | Available from context menu |
Application
Windows & Tabs
| Action | Shortcut |
|---|
| Close window / tab | Cmd+W |
| New query tab | Cmd+T |
| Switch to tab 1-9 | Cmd+1 through Cmd+9 |
| Next tab | Cmd+Shift+] |
| Previous tab | Cmd+Shift+[ |
| Minimize | Cmd+M |
Connections
| Action | Shortcut |
|---|
| New connection | Cmd+N |
| Switch connection | Cmd+Control+C |
| Refresh connection | Cmd+R |
| Delete selected connections | Cmd+Delete |
View
| Action | Shortcut |
|---|
| Toggle sidebar | Cmd+0 |
| Toggle full screen | Cmd+Control+F |
| Zoom in | Cmd+= |
| Zoom out | Cmd+- |
Panels
| Action | Shortcut |
|---|
| Query History | Cmd+Y |
| Toggle Cell Inspector | Cmd+Option+I |
| Toggle Results | Cmd+Option+R |
| Open Terminal | `Ctrl+Cmd+“ |
| Settings | Cmd+, |
Results
| Action | Shortcut |
|---|
| Previous Result | Cmd+Option+[ |
| Next Result | Cmd+Option+] |
| Close Result Tab | Cmd+Shift+W |
| Action | Shortcut | Description |
|---|
| Explain with AI | Cmd+L | Send current query to AI for explanation |
| Optimize with AI | Cmd+Option+L | Send current query to AI for optimization |
ER Diagram
These shortcuts apply when the ER Diagram view is focused. Cmd+0 overrides Toggle Sidebar in this context.
| Action | Shortcut |
|---|
| Zoom In | Cmd+= |
| Zoom Out | Cmd+- |
| Reset Zoom (100%) | Cmd+0 |
| Fit to Window | Cmd+Shift+0 |
| Copy to Clipboard | Cmd+C |
Alternative navigation (Ctrl+HJKL)
For keyboards without dedicated arrow keys (e.g., HHKB), Ctrl+HJKL works as arrow key alternatives throughout the app. These work alongside arrow keys, not as replacements.
| Shortcut | Action | Where |
|---|
Ctrl+J / Ctrl+N | Move down / Next item | Data grid, connection list, quick switcher, database switcher |
Ctrl+K / Ctrl+P | Move up / Previous item | Data grid, connection list, quick switcher, database switcher |
Ctrl+H | Move left / Collapse group | Data grid (column left), welcome panel (collapse group at any nesting level), onboarding (previous page) |
Ctrl+L | Move right / Expand group | Data grid (column right), welcome panel (expand group at any nesting level), onboarding (next page) |
Ctrl+Shift+J | Extend selection down | Data grid |
Ctrl+Shift+K | Extend selection up | Data grid |
Vim Mode Keybindings
Turn on vim mode in Settings > Editor > Vim mode. A badge next to the editor shows the current mode.
See the Vim Mode page for the full key reference.
Vim keys only apply in the SQL editor. The data grid and other panels keep their standard shortcuts. Cmd+Enter runs the query in any mode.
Filtering
| Action | Shortcut |
|---|
| Toggle filter panel | Cmd+Shift+F |
| Apply filters | Enter (in value field) |
Table Structure
These shortcuts only apply when the table structure view is focused. They override Cmd+1 through Cmd+4 tab switching in that context.
Navigation
| Action | Shortcut |
|---|
| Columns tab | Cmd+1 |
| Indexes tab | Cmd+2 |
| Foreign Keys tab | Cmd+3 |
| DDL tab | Cmd+4 |
Import/Export
| Action | Shortcut |
|---|
| Export data | Cmd+Shift+E |
| Import data | Cmd+Shift+I |
Quick switcher
The Quick Switcher (Cmd+Shift+O) lets you search and jump to any table, view, database, schema, or recent query. It uses fuzzy matching, so typing usr finds users, user_settings, etc.
| Action | Shortcut |
|---|
| Open Quick Switcher | Cmd+Shift+O |
| Navigate results | Up / Down arrows |
| Open selected item | Return |
| Dismiss | Escape |
Results are grouped by type (tables, views, system tables, databases, schemas, recent queries) and ranked by match quality when searching.
Global Shortcuts
| Action | Shortcut |
|---|
| Quit application | Cmd+Q |
| Preferences | Cmd+, |
Customizing Shortcuts
Most menu shortcuts are rebindable in Settings > Keyboard.
Rebinding a Shortcut
- Open Settings (
Cmd+,) and select the Keyboard tab
- Find the action (use the search field to filter)
- Click the shortcut field next to the action
- Press the new key combination
- The shortcut updates immediately in the menu bar
Clearing a Shortcut
- Click the shortcut field for the action
- Press
Delete or Backspace
- The shortcut is removed
Conflict Detection
If you assign a shortcut already in use, TablePro shows a confirmation dialog:
- Cancel: keep the existing assignment
- Reassign: move the shortcut to the new action (clears the previous action’s shortcut)
System-reserved shortcuts (Cmd+Q, Cmd+H, Cmd+M, Cmd+,) cannot be reassigned. TablePro warns if you try.
Resetting to Defaults
Click Reset to Defaults to restore all shortcuts to their original values.
Tab switching shortcuts (Cmd+1 through Cmd+9) follow standard macOS convention and cannot be customized.
Outside The App
TablePro can also be driven from outside the running app. None of these are macOS keyboard shortcuts in the strict sense, but they cover the same fast-navigation use cases.
| Entry point | Use |
|---|
| Raycast extension | Trigger commands from Raycast’s own hotkey: search connections, open tables, run queries, search query history, focus tabs. |
tablepro:// URL scheme | open tablepro://... from the terminal, browser, or another app to open a connection, table, or query tab. Bind in Raycast Quicklinks, Alfred, or Shortcuts.app. |
| MCP clients | Claude Desktop, Cursor, Claude Code, Cline, Continue, Zed, Windsurf, Goose. Each client decides its own hotkey for invoking AI; tools call back into TablePro. |