Skip to content

Keybindings

jiranon khemklad edited this page Jul 24, 2026 · 1 revision

Keybindings

The bottom status bar and the ? help popup are both generated live from one config file (keybindbar.config.ts), so what you see in the app is always authoritative — this page is a snapshot for quick reference.

Panel navigation

From Key To
connection l / → workspace
workspace h / ← connection
workspace k / ↑ query input
workspace l / → records
query j / ↓ / esc workspace
query h / ← connection
record h / esc workspace

Workspace (results list)

Key Action
shift+l next page
shift+h previous page
s sort
shift+s page size
ctrl+n insert record
g jump to first record
shift+g jump to last loaded record

Record

Key Action
j / ↓ next record
k / ↑ previous record
e edit
d delete
y duplicate
c copy to clipboard
ctrl+n insert record
g jump to first record
shift+g jump to last loaded record

Connection / database / collection tree

The tree is the single source of truth for connections, databases, and collections — one navigable list. ctrl+e, e, d, x, i are context-aware: they act on whatever node is currently highlighted.

Key On a connection On a database On a collection
enter expand / connect expand / select open (browse documents)
ctrl+e create a new connection (sibling) create a new database in this connection (sibling) create a new collection in this database (sibling)
e edit this connection — —
d delete this connection (confirm) drop this database (confirm) drop this collection (confirm)
x export this connection (or all, if none selected) — —
i import connections from a file — —

Export/import supports two file formats, auto-detected by extension:

  • .json → the same connection JSON shape MongoDB Compass itself uses
  • anything else → a plain mongosh-style URI list (mongodb://... / mongodb+srv://...)

Global shortcuts

Key Action
enter submit query (in query panel)
? toggle keybinding help popup
: open query shell
c copy record to clipboard
q / ctrl+c quit

See Architecture for how these two dispatch layers (global vs. per-widget) interact.

Clone this wiki locally