SqlOtter

Browse and edit table data / Browse and find

Quickly switch table tabs, database tabs and workspaces

Toggle the current and last active context, jump to the first or last table tab, or select table and database tabs 1–9 with shortcuts.

Where to open it

Use the shortcuts in the active workspace main window. Settings → Shortcuts shows their action names and current bindings; Alt+F1 (⌥+F1 on macOS) opens Go To Action to find navigation commands.

Default shortcuts

Choose a scope first: table tab, database tab, or workspace. The ranges below mean pressing one digit, not a multi-key sequence.

Default shortcuts
ActionWindows / LinuxmacOSFocus and effect
Toggle current / last active table tabAlt+Q⌥+QReturn to the previous active tab in the current table-tab group. Press again to return when the pair remains available.
Toggle current / last active database tabAlt+Shift+Q⌥+Shift+QReturn to the most recently active database tab that is still open in this workspace.
Toggle current / last active workspaceCtrl+Alt+Shift+QControl+⌥+Shift+QUse workspace activation history; macOS uses physical Control. Activate the available previous workspace window or restore its saved context in its surviving window.
First table tabCtrl+Shift+[⌘+Shift+[First Tab jumps to the start of the current table-tab strip.
Last table tabCtrl+Shift+]⌘+Shift+]Last Tab jumps to the end of the strip; Switch to Last Tab (Alt+Q) returns to the previously active tab.
Table tabs 1–9Ctrl+1…9⌘+1…9Press the digit for the one-based visible position in the current table-tab group; a visible SQL Editor tab also counts.
Database tabs 1–9Ctrl+Shift+1…9⌘+Shift+1…9Press the digit for the one-based database-tab position in this workspace.
Table / database tab 10Ctrl+0 / Ctrl+Shift+0⌘+0 / ⌘+Shift+00 selects position 10; it does not mean the final tab.
Previous / next table tabCtrl+[ / Ctrl+]⌘+[ / ⌘+]Move one position in the current table-tab strip. At either end, show an edge message instead of wrapping.
First / last database tabCtrl+Shift+PageUp / Ctrl+Shift+PageDown⌘+Shift+PageUp / ⌘+Shift+PageDownJump to the start or end of the database-tab strip. These differ from table data paging.
Show tab-switch historyMeta+TabControl+TabOpen the table-tab history chooser; Meta is the system key on Windows/Linux and may be reserved by the OS.
List opened tables / databasesCtrl+E / Ctrl+Shift+E⌘+E / ⌘+Shift+EChoose an existing tab by name when its position or history is unclear.
  • Settings → Shortcuts controls these configurable defaults. Search for Switch to Last Tab, Switch to Last Active Database Tab, Switch to Last Active Workspace, First Tab, Last Tab, or Switch to Table/Database Tab 1–9; current custom bindings take precedence.
  • On macOS, ⌘ means Command and ⌥ means Option. The workspace-toggle default specifically uses physical Control+⌥+Shift+Q. Ordinary Ctrl-based navigation also registers a physical Control alias in the current implementation.
  • Activate the intended workspace main window before using these shortcuts. A modal dialog or an OS-reserved/custom binding can intercept the keys.

Before you start

Open the table/database tabs you want to visit. For a toggle, first activate two different tabs or workspaces so a previous context is available. Allow restored contexts to finish loading.

Follow these steps

  1. Check the workspace window, connection/database tab and table-tab group before navigating.
  2. To alternate between two tables, activate table A, then table B. Press Alt+Q (macOS ⌥+Q) to return to A; press again to return to B while the pair remains available.
  3. To alternate between database tabs, activate database A, then B. Press Alt+Shift+Q (macOS ⌥+Shift+Q); repeat to switch back. Wait for the selected database’s table tree and tab context.
  4. To return to the previous workspace, activate workspace A, then B. Press Ctrl+Alt+Shift+Q; on macOS use physical Control+⌥+Shift+Q. Check the activated window and restored target.
  5. Use Ctrl+Shift+[ or Ctrl+Shift+] (macOS ⌘+Shift+[ or ⌘+Shift+]) for the first or last table tab. Use Ctrl+[ / Ctrl+] (macOS ⌘+[ / ⌘+]) to move one table tab.
  6. Use Ctrl+1…9 (macOS ⌘+1…9) for table tabs 1–9. Add Shift for database tabs 1–9. Use digit 0 for position 10. Verify the selected tab before continuing.

Example

Example: table A → table B → Alt+Q → A → Alt+Q → B.
Ctrl+3 selects visible table tab 3; Ctrl+Shift+3 selects database tab 3.
macOS: ⌥+Q toggles tables; ⌘+3 / ⌘+Shift+3 select position 3.

What to expect

The requested existing tab becomes active, or workspace history activates/restores an available previous context. Repeated toggles alternate between the current and previous contexts while that history remains valid.

Scope and limits

  • “Last active” means the previously visited context, not the most recently created tab or the rightmost tab. Last Tab and Switch to Last Tab are separate actions.
  • Numbered table navigation counts visible tabs from the start of the current group, skips hidden tabs, and includes SQL Editor when visible. Database digits use database-tab order. Reordering or closing tabs can change the numbered target. First/Last jump to the strip endpoints; numbered navigation follows the visible positions described above.
  • An unavailable numbered position does nothing. Selecting the current position or an already-selected endpoint shows “Already on this tab.” A toggle needs a valid previous context; it does not reopen a closed table/database tab.
  • Database history discards closed tabs. Workspace history is local to the running application and available windows; it can restore an earlier saved workspace in its surviving owner window, but is not the full saved-workspace list. Use Open Workspace or Recent Workspace for other saved contexts.
  • Switching databases restores that database’s table and UI context; lazy tabs or saved workspace snapshots may need time or a refresh. Check the connection, database, Schema and table after switching.
  • This topic is based on current development source. Existing screenshots in other topics do not demonstrate these keyboard sequences; physical-key and named-release acceptance remain separate.

If something goes wrong

  • If a key has no effect, activate the main window, dismiss any modal dialog, check Settings → Shortcuts and confirm the target position or previous context exists. On macOS, check physical Control for the workspace toggle.
  • If a number opens a different tab than expected, recount the visible table tabs, including SQL Editor, or the database-tab order. Use Opened Tables / Opened Databases to choose by name.
  • If Alt+Q no longer returns to the expected table after tabs have been closed, moved or rebuilt, select the intended pair again. Closed tabs use Reopen Last Closed Tab or Recently Closed Tabs, not this toggle.