Skip to content

Key Bindings

All bindings can be remapped in ~/.config/monq/config.toml. See Configuration.

Key Action
j / k Move down / up
h / l Move column left / right
Ctrl+D / Ctrl+U Scroll half page
19, [, ] Switch tabs
t Clone current tab
d Close tab
u Undo close tab
Ctrl+P Command palette
q Quit
Key Action
Tab Create new database / collection via inline form
Ctrl+D Drop selected database / collection (requires typing name to confirm)
Ctrl+R Rename selected collection (step 2 only)

When on the welcome screen (database or collection picker):

  • Tab: Opens an inline form to create a new database or collection
  • Ctrl+D: Drops the currently selected database (from database list) or collection (from collection list). For safety, you must type the exact name to confirm.
  • Ctrl+R: Renames the selected collection (only available on step 2, the collection list). Pre-fills the current name for easy editing.

When viewing an empty collection list, Ctrl+D drops the current database instead of trying to drop a collection.

Press Ctrl+P and search for these commands:

Command Description
Create Collection Create a new collection in the current database
Rename Collection: [name] Rename the collection in the current tab
Drop Current Database Drop the currently active database (requires typing the exact name to confirm)
Drop Collection: [name] Drop the collection in the current tab (requires typing the exact name to confirm)

These operations are also available from the command palette, making them accessible at any time without navigating to the welcome screen.

Key Action
/ Open query bar (simple mode)
Tab Toggle simple ↔ BSON mode / switch to pipeline mode
f Filter by value under cursor
s Cycle sort on current column
- Hide current column (adds -field projection token)
w Cycle column width mode
Shift+F Show / hide filter bar
Ctrl+F Open pipeline editor in $EDITOR
Ctrl+E Open pipeline file in tmux split (or copy path)
Ctrl+R Open query history picker
Backspace Clear query / pipeline
Key Action
p Toggle inline preview pane
Shift+E Open document editor in tmux split
e Edit document in $EDITOR
i Insert new document
Shift+I Manage indexes (edit all in $EDITOR)
x / X Toggle explain preview / open raw explain in $EDITOR
v Enter / freeze selection mode
Space Toggle row selection
o Jump cursor to selection end
Ctrl+A Select all
Shift+D Delete selected (with confirmation)
y / Y Copy cell value / full document JSON
r Reload

Vim-style letter marks bookmark individual documents per collection. See the Usage guide for the full workflow.

Key Action
m<letter> Toggle mark <letter> on the selected doc (or all selected rows in selection mode)
'<letter> Apply mark filter to the active query mode
'' Clear any mark filter from the current query
@<letter> Mark register token in the simple query bar — composes with other filter tokens
Escape (during pending mode) Cancel mark/jump pending

After pressing m or ', monq waits for the next letter. Any non-letter key cancels pending mode (modal — same as vim).