Cmd + N
Browse / TablePlus Essential Shortcuts
TablePlus Essential Shortcuts
A handy guide to the most useful keyboard shortcuts and tips for navigating and managing databases with TablePlus.
General & Navigation
General Actions
|
New Query tab |
|
New Connection |
|
New Tab |
|
Close Tab |
|
Quit TablePlus |
|
Save current file/query |
|
Quickly Switch Between Tabs/Files |
|
Open Preferences |
Navigation Within Tabs
|
Switch between tabs |
|
Switch between Panes (Query/Results) |
|
Cycle through tabs |
|
Quick Look for selected object (Table/View/Function) |
|
Change current database |
|
Jump to anything (tables, views, queries, etc.) |
|
Deselect row/cell, close find panel, exit full screen |
|
Rename selected object |
Search & Filtering Data
|
Find in current tab/document |
|
Replace in current tab/document |
|
Find in all files |
|
Replace in all files |
|
Go to line (in SQL editor) |
|
Filter data rows |
|
Show TablePlus commands |
SQL Editor
Query Execution & Formatting
|
Run current query |
|
Run all queries |
|
Run current query (Alternative) |
|
Format Query |
|
Comment/Uncomment line(s) |
|
Comment/Uncomment block |
|
Show Query History |
|
Explain Query Plan |
Editing & Autocomplete
|
Accept autocomplete suggestion |
|
Dismiss autocomplete suggestion |
|
Delete word backward |
|
Delete word forward |
|
Trigger autocomplete manually |
|
Go to beginning/end of line |
|
Go to beginning/end of word |
|
Select rectangular block of text |
Multi-Cursor Editing
|
Add new cursor at click location |
|
Select all occurrences of the current word |
|
Select next occurrence of current word/selection |
|
Unselect last occurrence |
|
Add cursor above/below and select current line |
|
Remove all extra cursors |
Data & Structure
Data Grid Actions
|
Add New Row |
|
Delete Selected Row(s) |
|
Duplicate Selected Row(s) |
|
Commit changes |
|
Discard unsaved changes |
|
Edit cell |
|
Save cell edit |
|
Copy/Paste cells or rows |
|
Paste with headers (useful for copying from spreadsheet) |
Structure View Actions
|
Add new column/index/relation |
|
Delete selected item |
|
Apply structure changes |
|
Discard structure changes |
|
Navigate between input fields when adding/editing item |
|
Navigate backward between input fields |
|
Save/add item after editing fields |
|
Toggle Foreign Key panel visibility |
Import / Export
|
Import Data |
|
Export Data |
|
Import from Database |
|
Export to Database |
Use drag & drop |
Drag CSV/JSON/SQL files onto a table tab to import |
Use clipboard |
Copy data rows and paste directly into a spreadsheet or text editor |
Export results |
After running a query, select results and use |
Tips & Advanced
Useful Quick Actions
Toggle Sidebar: |
Toggle Console/Output: |
Toggle Structure/Content: |
Focus Filter: |
Quick Look: |
Open in New Window: |
Maximize Pane: Double-click split bar |
Show TablePlus Commands: |
Custom Shortcuts: Go to |
Advanced SQL Editor Tricks
Column Selection: |
Move Line: |
Duplicate Line: |
Join Lines: |
Insert Cursor Above/Below: |
Go to Matching Bracket: |
Toggle Case: |
Wrap Selection: Select text, then type |