RED Docs

Keyboard reference

RED is operable almost entirely from the keyboard.

RED is operable almost entirely from the keyboard. Every discrete action lives in the command palette (⌘KCtrl+K) - the complete, searchable list, phase-aware so it only offers what's actionable - and the common ones also have the direct bindings below. Press ⌘/Ctrl+/ in-app for the shortcut reference as an overlay.

Cross-platform bindings

The bindings below are spelled for the platform you're reading on. RED's primary modifier is Cmd on macOS and Ctrl on Windows and Linux, and the in-app reference (⌘/Ctrl+/) follows the same rule, so what you see here is what your machine shows. Every binding is remappable in Settings, or by hand in keymap.toml, which reloads live.

Global

KeyAction
⌘KCtrl+KCommand palette
⌘PCtrl+PSwitch connection
⌘⇧PCtrl+Shift+PSwitch to the previous connection
⌘1Ctrl+1–9Jump to a connection by position
⌘LCtrl+LToggle the AI assistant
⌘OCtrl+OGo to a table or view (fuzzy)
⌘/Ctrl+/Keyboard-shortcuts overlay
⌘,Ctrl+,Settings
⌘NCtrl+NNew connection (welcome screen)
⌘QCtrl+QQuit

Panes and focus

KeyAction
hold ⌥AltShow a jump key on every panel, then press it
F6 / ⇧F6Shift+F6Cycle focus forward / back
⌘BCtrl+BToggle the schema sidebar
⌘YCtrl+YToggle the history panel
⌘⇧CCtrl+Shift+CToggle the reference-columns panel
⌘\Ctrl+\Split the focused pane right
⌘⇧\Ctrl+Shift+\Split the focused pane down
⌥⌘\Ctrl+Alt+\Focus the next pane
⌥⌘WCtrl+Alt+WClose a pane into its neighbour
⌘⇧↩Ctrl+Shift+↩Zoom / restore a pane
⌥⌘0Ctrl+Alt+0Equalize pane sizes

Focus jumps moved to a held modifier

The old ⌥⌘1Ctrl+Alt+1 / ⌥⌘2Ctrl+Alt+2 / ⌥⌘3Ctrl+Alt+3 jumps are retired. They named the SQL shell's three panes, which the Redis and MongoDB shells had to pun onto or ignore; holding ⌥Alt reaches every surface in every shell with one gesture. A keymap.toml binding them still loads, and those keys now cycle focus. The trigger, hold delay and hint keys are settings (keymap.focus_overlay), including turning the overlay off.

Query tabs

KeyAction
⌘TCtrl+TNew tab
⌘WCtrl+WClose tab (confirms if it holds unsaved work)
⌃TabCtrl+Tab / ⌃⇧TabCtrl+Shift+TabNext / previous tab
⌘↵Ctrl+↵Run the active tab's query (or selection) - works from any pane
⌥⌘↵Ctrl+Alt+↵Run the whole buffer as a script
⌘FCtrl+FFind in the query
⇧⌘ECtrl+Shift+EExplain the query (plan)
⌥⌘FCtrl+Alt+FFormat SQL
⇧⌘SCtrl+Shift+S / ⇧⌘OCtrl+Shift+OSave query / open a saved query
EscLeave the editor for the result grid (when no completion is open)

Result grid

Focus the grid (hold ⌥Alt and press its hint key, or click a cell), then drive the cell cursor:

KeyAction
↑ ↓ ← →Move the cell cursor
⇧Shift + arrowsExtend the selection
⌘←Ctrl+← / ⌘→Ctrl+→Row start / end
⌘↑Ctrl+↑ / ⌘↓Ctrl+↓First / last row
PgUp / PgDnPage up / down
⌘ACtrl+ASelect all
⌃GCtrl+GGo to row…
⌘CCtrl+CCopy the selection (TSV)
⌘ICtrl+IInspect the cell / row
⌘FCtrl+FFind in the loaded rows
⌘⇧FCtrl+Shift+FFilter rows to a WHERE clause
⌥⌘PCtrl+Alt+PPin the selected row(s) under the header

The cursor lives in absolute row ordinals while the grid is windowed over a multi-million-row result; moving off the visible window re-centers it through the same paging machinery the scrollbar uses, so it follows without stutter.

Editing data

Edits are staged - make a batch of changes in the grid, then review and submit them together (or revert):

KeyAction
↵ / F2Edit the focused cell
⌘↵Ctrl+↵Submit the staged changes
⌥⌘ZCtrl+Alt+ZRevert the staged changes
⌘⌫Ctrl+⌫Mark row(s) for deletion
⌥⌘NCtrl+Alt+NAdd a new row
⌥⌘0Ctrl+Alt+0Set the cell to NULL

Schema tree

KeyAction
↑ / ↓Move the selection
← / →Collapse / expand (or jump to parent / first child)
↵Open a table/view preview, or toggle a namespace
⌘FCtrl+FSearch the schema - reveals the sidebar and focuses its filter field
⌘RCtrl+RRefresh the schema

⌘FCtrl+F works from anywhere (it reveals a collapsed sidebar first); type to filter the tree live, then ↓ into the results.

MongoDB browser

KeyAction
↑ / ↓Move the selection (collection tree, document grid)
← / →Collapse / expand a database
↵ / F2Open the highlighted collection / document
⌘FCtrl+FSearch collections (tree) / filter documents (grid)

Welcome screen

KeyAction
↑ / ↓Move between saved connections
← / →Page the list
Home / EndJump to the first / last connection
↵Connect to the highlighted one
/Search connections
EEdit the highlighted connection
⌫Remove the highlighted connection
⌘NCtrl+NNew connection

Dialogs

KeyAction
↵Confirm / connect
EscCancel / close
Tab / ⇧TabShift+TabCycle controls (trapped)

Vim navigation

An optional keymap setting adds hjkl, g / G, 0 / $, and Ctrl-d / Ctrl-u motions to the result grid, schema tree, key browser, document grid and history dock, alongside the arrow keys. Off by default; applies live.

On this page