Docs / editor

Keyboard shortcuts

Default keymap. Edit the JSON in Settings to customize per feature.

Last updated 2026-05-22 Edit on GitHub

QueryDen is keyboard-first. The defaults below are wired in src/App.tsx (global) and the per-feature stores. Bindings can be remapped per feature in Settings → Keymap.

Global

ShortcutAction
Ctrl+EnterRun statement under cursor (statement-aware)
Ctrl+Shift+EnterRun all statements
Ctrl+NNew query tab
Ctrl+SSave current query
Ctrl+Shift+LFormat SQL
Ctrl+Shift+FToggle global search bar
Ctrl+Shift+EToggle Database Explorer pane
Ctrl+Alt+SOpen settings
Ctrl+HOpen help

In the editor

ShortcutAction
Ctrl+Click on an identifierJump to definition
Hover an identifierLive CREATE TABLE tooltip with columns
Alt+EnterIntention actions (JetBrains-style refactor popup)
Ctrl+SpaceTrigger autocomplete
Ctrl+/Toggle line comment
Ctrl+DDuplicate line / add selection to next occurrence
Ctrl+YDelete line
Ctrl+WExpand selection
Ctrl+Shift+WShrink selection
Alt+Shift+Up/DownMove line up/down

In the results grid

ShortcutAction
Ctrl+SSave pending edits
EscapeClose overlays / menus
Arrow keysCell navigation
Ctrl+CCopy cell value (or selection)

Keymap presets

The default “DataGrip” preset only lists bindings the app actually wires. DataGrip-flavored shortcuts whose handlers don’t exist yet (global search, in-app console, go-to-definition keybinding, rename, structure view, tab cycling, local/clipboard history) are intentionally omitted — they’ll come back as each feature lands. Previously issue #11 tracked the fact that the preset advertised these as available when pressing them did nothing.

Shortcuts that conflict with operating system behavior (such as Ctrl+W closing the window, Ctrl+\ sending SIGQUIT on Linux, or F4 being captured by macOS) are avoided. The keymap uses Ctrl+Shift+E for the Database Explorer to prevent these conflicts.

Customizing

Open Settings → Keymap to remap any per-feature binding. The keymap is stored encrypted alongside your connections, so it follows your master password — not your operating system’s preferences.