Skip to main content

Keyboard Shortcuts

TablePro is keyboard-driven. Most actions have shortcuts, and most menu shortcuts are rebindable.

Quick Reference

Essential Shortcuts

SQL Editor

File Operations

Query Execution

Text Editing

Find and Replace

Selection

Data Grid

Pagination

Cmd+[ and Cmd+] page the data grid. In the SQL editor the same keys indent and outdent the selection, so the binding follows whichever has focus.

Editing

Data Changes

Selection

Clipboard

CSV Inspector

Inherits the standard NSDocument shortcuts.

Application

Windows & Tabs

Connections

View

Panels

Results

AI

ER Diagram

These shortcuts apply when the ER Diagram view is focused. Cmd+0 overrides Toggle Sidebar in this context.

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.

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

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.

Import/Export

Quick switcher

The Quick Switcher (Cmd+Shift+O) opens a floating panel to search and jump to any table, view, database, schema, saved query, or recent query. It uses fuzzy matching, so typing usr finds users, user_settings, etc. Matched characters are highlighted in each result. Results are grouped by type (tables, views, system tables, databases, schemas, saved queries, recent queries) and ranked by match quality, how often you open each item, and how recently. Tables already open in a tab show an Open badge and rank higher; selecting one switches to the existing tab instead of opening a duplicate. Right-click a result for more actions: open the table structure, copy the name, or copy the query.

Global Shortcuts

Customizing Shortcuts

Most menu shortcuts are rebindable in Settings > Keyboard.
Keyboard settings

Keyboard shortcut customization

Rebinding a Shortcut

  1. Open Settings (Cmd+,) and select the Keyboard tab
  2. Find the action (use the search field to filter)
  3. Click the shortcut field next to the action
  4. Press the new key combination
  5. The shortcut updates immediately in the menu bar
Menu actions need a modifier key (Cmd, Option, Control, or Shift). A plain key like Space won’t reach the menu, so TablePro asks you to add a modifier. The exceptions are function keys (F1 through F12), which work on their own, and data grid actions that read the key directly, like Preview FK Reference (Space) and Cancel edit (Escape).

Clearing a Shortcut

  1. Click the shortcut field for the action
  2. Press Delete or Backspace
  3. The shortcut is removed

Conflict Detection

If you assign a shortcut already used by another action in the same context, TablePro shows a confirmation dialog naming that action and its group:
  • Cancel: keep the existing assignment
  • Reassign: move the shortcut to the new action (clears the previous action’s shortcut)
The same key can mean different things in the editor and the data grid because focus decides which one fires, so a grid shortcut and an editor shortcut can share a key without conflicting.
Shortcuts the editor uses internally (like Cmd+/ to comment or Cmd+Shift+K to delete a line) and macOS system shortcuts (read live from System Settings, so Cmd+Q, Spotlight, and Mission Control are covered) cannot be assigned. TablePro warns if you try.

Resetting to Defaults

A reset button (the curved arrow) appears next to any shortcut you have changed; click it to restore that one action. Click Reset to Defaults to restore every shortcut at once.
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.