Docs / editor

Keyboard shortcuts

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

Last updated 2026-05-13 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+TNew query tab
Ctrl+WClose current tab
Ctrl+HOpen help
Ctrl+Alt+SOpen settings
Ctrl+\Toggle explorer pane (see issue #13 — current build still uses Ctrl+D, which collides with Monaco multi-cursor)

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+Shift+FFormat the current SQL document
Ctrl+SpaceTrigger autocomplete
Ctrl+/Toggle line comment
Ctrl+Alt+LDuplicate line

In the results grid

ShortcutAction
Ctrl+SExport visible rows (CSV / TSV / JSON)
Ctrl+FFilter
Arrow keysCell navigation
Ctrl+CCopy cell value (or selection)

Why some bindings are missing

QueryDen ships a DataGrip-flavored preset in addition to the defaults. Bindings advertised in that preset that aren’t yet wired (e.g. Shift Shift global search, F4 console, Ctrl+B go-to-definition, Shift+F6 rename, Alt+Left/Right tab cycling) are tracked in issue #11.

If a shortcut feels missing, check the issue tracker before customizing — it may already be on the roadmap.

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.