Skip to content

Keyboard shortcuts & slash commands

Cmd on macOS, Ctrl on Linux/Windows. All shortcuts customisable via Settings → Keymap (writes to user.toml).

ShortcutAction
Cmd+BToggle chat panel
Cmd+PQuick open (fuzzy file search)
Cmd+Shift+FFull-text search across vault
Cmd+KSearch blocks, vars, schema
Cmd+,Settings
Cmd+WClose active tab
Cmd+Shift+WClose pane
Cmd+TNew tab
Cmd+TabCycle tabs forward
Cmd+Shift+TabCycle tabs backward
Cmd+\\Split pane vertical
Cmd+Shift+\\Split pane horizontal
Cmd+EOpen environment switcher
Cmd+Shift+VNew variable (popover)
ShortcutAction
Cmd+SForce save (also autosaves at 1s)
Cmd+/Toggle comment on selection
Cmd+DSelect next occurrence
Cmd+Shift+LSelect all occurrences
Cmd+FFind in file
Cmd+GFind next
Cmd+Shift+GFind previous
Cmd+Z / Cmd+Shift+ZUndo / Redo
Cmd+[ / Cmd+]Indent / outdent
Cmd+Up / Cmd+DownMove line up/down
Cmd+LSelect current line
Cmd+Click on {{...}}Jump to alias definition
ShortcutAction
Cmd+EnterRun block
Cmd+Shift+EnterRun all blocks in file
Cmd+.Cancel running block
Cmd+Shift+CCopy as cURL (HTTP block)
Cmd+Shift+ERun as EXPLAIN (DB block)
Cmd+Shift+RForce re-run (skip cache)

Toggle via Settings → Editor → Vim mode (or :set vim in command palette). Provided by @replit/codemirror-vim.

Standard vim motions work. Notable httui extensions:

Vim commandAction
:runRun block under cursor
:run-allRun all blocks
:cancelCancel running block
:env <name>Switch active environment

Alt+1..9 is disabled by default (conflicts with macOS window managers like Aerospace). Re-bind in user.toml if needed.

Type / at the start of a line in the editor — a command palette appears. Pick to insert a template.

CommandInserts
/HTTP RequestGeneric HTTP block scaffold
/HTTP GETGET request template
/HTTP POSTPOST request template with JSON body
/HTTP PUTPUT request template
/HTTP DELETEDELETE request template
/DB QueryPicks connection from a dropdown, inserts SELECT
/DiffStandalone diff block (two text panes)
/MermaidMermaid diagram code block

Each template lands with the cursor on the URL / SQL line so you can start typing immediately.

Type {{ in any block body → popover lists:

  • Block aliases above the current cursor
  • Env vars from the active environment

Filter by typing. Tab to complete. Esc to cancel. The popover shows a small hint ((cached) if the alias has been run, (env) for env vars).

Type a table name in a DB block — Schema-aware popover suggests columns with their types. Type a column → see type info hover.

ShortcutAction
Cmd+G (when git panel open)Stage all + commit
Cmd+Shift+SSync (stage → commit → pull --ff-only → push)
Cmd+B (when git panel focused)Branch picker

The terminal binary (httui-tui) has its own keymap — see CLI reference. It deliberately avoids Alt+<digit> chords; prefers g-prefix sequences (vim-style) and bare letters.

Settings → Keymap shows every action with its current binding. Click to rebind. Resets persist to user.toml:

[keymap]
"chat.toggle" = "Cmd+J" # was Cmd+B
"block.run" = "Cmd+R" # was Cmd+Enter

Reload settings to apply (or restart the app).