Last updated: 2026-05-24

Keyboard Shortcuts

Master Jam SQL Studio with these keyboard shortcuts. Learn the essential commands for query execution, navigation, editing, and results management on macOS and Windows/Linux.

Tip: Print this page or bookmark it for quick reference while learning Jam SQL Studio.

Global Shortcuts

These shortcuts work throughout the application, regardless of which panel has focus.

ActionmacOSWindows/Linux
New Query TabCmd+TCtrl+T
New WindowCmd+Shift+NCtrl+Shift+N
Open FileCmd+OCtrl+O
Save FileCmd+SCtrl+S
Save AsCmd+Shift+SCtrl+Shift+S
Close TabCmd+WCtrl+W
Close WindowCmd+Shift+WCtrl+Shift+W
Toggle TerminalCmd+`Ctrl+`
Open SettingsCmd+,Ctrl+,
Toggle SidebarCmd+BCtrl+B
Command PaletteCmd+Shift+PCtrl+Shift+P
Quick OpenCmd+PCtrl+P
Search Query HistoryCmd+Shift+YCtrl+Shift+Y

Command Palette

The Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux) gives you fuzzy-searchable access to every command, database object, saved connection, and setting from a single keyboard-driven interface.

What You Can Do

  • Run workspace commands — open a New Query, Table Explorer, Schema Compare, Data Compare, and more
  • Search database objects — find tables, views, stored procedures, and functions by name, then drill down into contextual actions (Select Top, Script CREATE, Design Table, etc.)
  • Quick-connect — search saved connections and connect with a single Enter
  • Toggle settings — switch dark mode, open specific settings sections, toggle sidebar or terminal
  • Navigate — go to Home, open Tab History, expand Explorer or Scripts panel

Tips

  • Each command shows its keyboard shortcut badge, so the palette doubles as a shortcut reference.
  • Use Shift+Enter on a command that needs a connection to force the connection/database selector dialog instead of using the explorer's current selection.
  • Press Backspace on an empty search to return from an object's action sub-menu to the main search.
  • The palette is also accessible from the search trigger on the Start Page and the toolbar search button.

Query Editor Shortcuts

Shortcuts for writing and executing SQL queries in the query editor.

Execution

ActionmacOSWindows/Linux
Execute QueryCmd+ECtrl+E
Execute Query (Alternative)F5F5
Execute SelectionClick the floating Execute button that appears next to your selection (no keyboard shortcut — toolbar/F5 always run the full editor content)
Execute with Actual PlanCmd+Shift+ECtrl+Shift+E
Execute with Estimated PlanCmd+LCtrl+L
Cancel QueryEscapeEscape

View

ActionmacOSWindows/Linux
Toggle Results PaneCmd+JCtrl+J

Editing

ActionmacOSWindows/Linux
Format SQLShift+Alt+FShift+Alt+F
Comment LineCmd+/Ctrl+/
Block CommentCmd+Shift+/Ctrl+Shift+/
FindCmd+FCtrl+F
Find and ReplaceCmd+HCtrl+H
Find NextCmd+GF3
Find PreviousCmd+Shift+GShift+F3
UndoCmd+ZCtrl+Z
RedoCmd+Shift+ZCtrl+Y
Select AllCmd+ACtrl+A
Duplicate LineCmd+Shift+DCtrl+Shift+D
Delete LineCmd+Shift+KCtrl+Shift+K
Move Line UpAlt+UpAlt+Up
Move Line DownAlt+DownAlt+Down
Indent LineTabTab
Outdent LineShift+TabShift+Tab
Trigger Parameter HintsCmd+Shift+SpaceCtrl+Shift+Space

Cursor and Selection

ActionmacOSWindows/Linux
Multi-cursor (Add)Cmd+ClickCtrl+Click
Add Cursor AboveCmd+Alt+UpCtrl+Alt+Up
Add Cursor BelowCmd+Alt+DownCtrl+Alt+Down
Select WordCmd+DCtrl+D
Select All OccurrencesCmd+Shift+LCtrl+Shift+L
Expand SelectionCmd+Shift+RightCtrl+Shift+Right
Shrink SelectionCmd+Shift+LeftCtrl+Shift+Left
Go to LineCmd+GCtrl+G
Go to BeginningCmd+HomeCtrl+Home
Go to EndCmd+EndCtrl+End

Navigation Shortcuts

Navigate between tabs, panels, and views.

ActionmacOSWindows/Linux
Next TabCmd+Shift+]Ctrl+Tab
Previous TabCmd+Shift+[Ctrl+Shift+Tab
Go to Tab 1-9Cmd+1 to Cmd+9Ctrl+1 to Ctrl+9
Focus Object ExplorerCmd+Shift+ECtrl+Shift+E
Focus Query EditorCmd+1Ctrl+1
Focus Results GridCmd+2Ctrl+2
Toggle Full ScreenCtrl+Cmd+FF11
Zoom InCmd+=Ctrl+=
Zoom OutCmd+-Ctrl+-
Reset ZoomCmd+0Ctrl+0

Results Grid Shortcuts

Shortcuts for working with query results and table data.

ActionmacOSWindows/Linux
Copy SelectionCmd+CCtrl+C
Copy with HeadersCmd+Shift+CCtrl+Shift+C
Select All RowsCmd+ACtrl+A
Select RowClick row numberClick row number
Extend SelectionShift+ClickShift+Click
Multi-select RowsCmd+ClickCtrl+Click
Navigate CellsArrow keysArrow keys
Page DownPage DownPage Down
Page UpPage UpPage Up
Go to First RowCmd+HomeCtrl+Home
Go to Last RowCmd+EndCtrl+End

Table Explorer Shortcuts

Shortcuts for browsing and editing table data in Table Explorer.

ActionmacOSWindows/Linux
Toggle Edit ModeCmd+ECtrl+E
Save ChangesCmd+SCtrl+S
Discard ChangesEscapeEscape
Add New RowCmd+NCtrl+N
Delete Selected RowsCmd+DeleteCtrl+Delete
Refresh DataCmd+RCtrl+R
Toggle Filter PanelCmd+FCtrl+F
Export DataCmd+Shift+ECtrl+Shift+E

Walk the FK navigation tree inside a Table Explorer tab without taking your hands off the keyboard.

ActionmacOSWindows/Linux
Activate previous sibling (or previous in the active path)Cmd+←Ctrl+←
Activate next sibling (or next in the active path)Cmd+→Ctrl+→
Activate parentCmd+↑Ctrl+↑
Activate first childCmd+↓Ctrl+↓
All four shortcuts are rebindable from Settings → Keybindings.

Object Explorer Shortcuts

Shortcuts for navigating and interacting with database objects.

ActionmacOSWindows/Linux
Expand NodeRight ArrowRight Arrow
Collapse NodeLeft ArrowLeft Arrow
Navigate Up/DownUp/Down ArrowUp/Down Arrow
Open ObjectEnterEnter
Context MenuRight-click or Ctrl+ClickRight-click or Shift+F10
Refresh TreeCmd+RCtrl+R
Search ObjectsCmd+Shift+FCtrl+Shift+F
Script as CREATECmd+Shift+CCtrl+Shift+C

Sessions Shortcuts

Shortcuts for managing workspace sessions.

ActionmacOSWindows/Linux
Save SessionCmd+Shift+SCtrl+Shift+S
Open Sessions DialogCmd+Shift+OCtrl+Shift+O

Snippets

Shortcuts for using code snippets.

ActionmacOSWindows/Linux
Expand SnippetTabTab
Next PlaceholderTabTab
Previous PlaceholderShift+TabShift+Tab
Exit Snippet ModeEscapeEscape

Schema Overview Shortcuts

Shortcuts for navigating the schema visualization.

ActionmacOSWindows/Linux
Zoom InCmd+= or Scroll UpCtrl+= or Scroll Up
Zoom OutCmd+- or Scroll DownCtrl+- or Scroll Down
Fit to ScreenCmd+0Ctrl+0
PanClick + DragClick + Drag
Select NodeClickClick
Open Selected ObjectDouble-clickDouble-click
Print-friendly: Use Cmd+P (macOS) or Ctrl+P (Windows/Linux) to print this page for a quick reference card.

Frequently asked questions

What is the keyboard shortcut to execute a SQL query?

Press F5 to execute the full editor content. The keyboard shortcut always runs the entire query — to run only selected text, click the floating Execute button that appears next to your selection.

How do I format SQL code in Jam SQL Studio?

Press Shift+Alt+F to format your SQL code. This works on both macOS and Windows/Linux.

How do I open a new query tab?

Press Cmd+T on macOS or Ctrl+T on Windows/Linux to open a new query tab. Use Cmd+W or Ctrl+W to close the current tab.

What is the shortcut to view an execution plan?

Press Cmd+Shift+E (macOS) or Ctrl+Shift+E (Windows/Linux) to execute with an actual plan. Press Cmd+L or Ctrl+L to show the estimated plan without executing.

How do I cancel a running query?

Press Escape to cancel a running query. This stops execution on the server side.

How do I open the Command Palette in Jam SQL Studio?

Press Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux to open the Command Palette. You can also click the search trigger on the Start Page or the toolbar search button. The palette lets you fuzzy-search every command, database object, saved connection, and setting. Select a database object to drill down into contextual actions like Select Top, Script CREATE, or Design Table.

Ready to Get Started?

Download Jam SQL Studio and put these shortcuts to use.