MongoScope

Keyboard shortcuts

Global and per-tab keys for MongoScope

Press ? in the app for the full, up-to-date list (sourced from src/app/shortcuts/).

Global

KeyAction
?Help
Ctrl+KCommand palette
mToggle light / dark
tCycle theme
qQuit
1–5 / Tab / Shift+TabDashboard tabs

Welcome

KeyAction
↑ / ↓ / j / kNavigate log files
tabSwitch section (/var/log/mongodb ↔ --log-dir)
enterAnalyze selected log
rRetry with sudo when a log directory or selected file is permission-denied (confirm first)

Welcome’s r is only bound on the Welcome screen. On the Logs tab, r is a category pill.

Connections

KeyAction
cConnections dialog when DbSelector is shown and at least one saved profile exists; or Ctrl+K → Manage connections
lToggle Static vs Live on Slow Queries and Logs (when a connection is selected)

Slow Queries

KeyAction
lToggle Static / Live
eEnable profiling (confirm dialog; level 1 + slowms, default 100)
c / a / p / gSort by count / avg ms / plan / regression (g: static only; live sorts as 0)
EnterDetails
iJump to Indexes with suggested vs existing index (from details)
Shift+TStatic: log tail size. Live: profiler sample window (default 100000, clamp 1–1000000)
[ / ]Cycle databases (Live)
xExport patterns (JSON / CSV / Markdown)

Live Ops

KeyAction
xConfirm kill op
eJump to matching Slow Queries detail when a pattern matches

Indexes

KeyAction
← / →Database
[ / ]Collection
↑ / ↓ / j / kRows
n / iSort collections by name / index count
s / oSort indexes by size / ops

Logs

KeyAction
spaceFollow
/Search
fCustom filter
c / w / r / n / sCategory pills (COMMAND / WRITE / REPL / NETWORK / STORAGE)
lToggle Static / Live (when a connection is selected)

Query Detail

KeyAction
↑ / ↓ / j / kScroll details
pgup / pgdnPage scroll
rToggle raw sample
cCopy displayed detail (raw or curated)
sCopy suggested index command
iJump to Indexes (focus collection + suggested vs existing)
escClose details

On this page