cass

DocsThe terminal UI

Complete Keyboard Reference

On this page

Global Keys#

Key Action
Ctrl+C Force quit
Esc / F10 Unwind: close the open modal or surface, otherwise quit
F1 / Alt+? Toggle help screen
F2 / Alt+T Next theme (cycles all 19 presets)
Shift+F2 / Alt+Shift+T Previous theme
Ctrl+B Toggle border style (rounded/square)
Ctrl+P / Alt+P Open the command palette
Ctrl+S Toggle the stats bar
Ctrl+Shift+S Open the sources management surface
Alt+A Open the analytics dashboard
Alt+M Toggle macro recording (replay with cass tui --play-macro FILE)
Ctrl+Shift+I Toggle the inspector overlay
Ctrl+Shift+R Force re-index
Ctrl+Shift+Del Reset all TUI state
Ctrl+Z / Ctrl+Shift+Z Undo / redo

Launch-time flags: cass tui --refresh (alias --catch-up) runs an incremental index pass before opening; --record-macro FILE / --play-macro FILE record and replay input events.

Search Bar (Query Input)#

Key Action
Type Live search as you type; plain characters (including ?, y, o, c, 1-9, -, =) go into the query
Enter Open the selected hit; with no selected hit, submit the query (if the query is empty, edit the last filter chip)
Backspace Delete character; if the query is empty, remove the last filter chip
Left/Right, Ctrl+Left/Ctrl+Right Move the cursor by character / by word
Home/End Jump the cursor to the start / end of the query
Ctrl+L Clear the query
Ctrl+U / Ctrl+K / Ctrl+W Kill to line start / to line end / previous word
Ctrl+R Cycle through query history
Ctrl+N / Ctrl+Shift+N Next / previous query-history entry
Ctrl+F Toggle wildcard fallback
Ctrl+Shift+Y Copy the query
Key Action
Up/Down Move selection in results list
PageUp/PageDown Scroll by page
Tab / Shift+Tab Toggle focus between results and detail pane / move focus left
Alt+h/j/k/l Vim-style directional focus (left/down/up/right)
Alt+1..Alt+9 Switch to pane N
Alt+- / Alt+= Shrink / grow the results pane
Alt+D Hide / show the detail pane
Alt+[ / Alt+] Timeline jump backward / forward

Filtering#

Key Action
F3 / Alt+G Open agent filter palette
Shift+F3 / Alt+Shift+G Clear the agent filter
F4 / Alt+W Open workspace filter palette
Shift+F4 / Alt+Shift+W / Ctrl+Del Clear all active filters
F5 Set "from" time filter
F6 Set "to" time filter
Shift+F5 Cycle time presets: 24h → 7d → 30d → all
F11 / Shift+F11 Cycle the source filter / open the source filter menu
Alt+/ Open the pane filter

Modes & Display#

Key Action
F7 / Alt+C Cycle context window size: S → M → L → XL
Ctrl+Space Momentary "peek" to XL context
F9 Toggle match mode: standard (default) ↔ prefix, where every bare word of 2+ characters also matches as a prefix (auth → auth*; phrases, operators and wildcards are left as typed)
F12 / Alt+R Cycle ranking: recent → balanced → relevance → quality → newest → oldest
Alt+F Cycle result grouping: agent → conversation → workspace → flat
Alt+S Cycle search mode (lexical / semantic / hybrid). Without an installed model or compatible vector index, explicit semantic searches report an error; hybrid keeps lexical results. Recovery guidance names cass models install (offline --from-file <dir>) or cass index --semantic; nothing downloads on its own
Ctrl+D Cycle density: Compact → Cozy → Spacious
Ctrl+1..Ctrl+9 Save the current view to slot N
Shift+1..Shift+9 Load the view from slot N

For one chronological list across agents, select flat grouping with Alt+F and newest ranking with F12. Grouping is also available in the command palette and is preserved with ranking and filters in saved views.

Selection & Actions#

Key Action
Enter / Ctrl+M Open selected result in the detail modal (Messages tab by default)
Ctrl+X Toggle selection on current result
Ctrl+A Select/deselect all visible results
Alt+B Open bulk actions menu (when items selected)
Ctrl+Enter Add to multi-open queue
Ctrl+O Open all queued items in editor
F8 / Alt+O Open selected hit in $EDITOR
Alt+V View raw
Alt+Shift+J Toggle JSON view
Ctrl+Y Copy path
Alt+Y Copy snippet
Ctrl+Shift+C Copy content
Alt+E Bookmark the selected hit (cass bookmarks list shows bookmarks)
Ctrl+E Open the export modal
Ctrl+Shift+E Export Markdown immediately
Alt+U / Alt+N / Alt+I Update banner: upgrade now / show release notes / skip this version

Detail Pane#

These apply while the detail modal is open:

Key Action
Esc Close the detail modal
Tab Cycle detail tabs
/ (or Ctrl+F, Alt+/) Start find-in-detail; type to search, Enter advances to the next match
n / N Next / previous contextual search hit within this session
Enter (Messages tab) Next contextual search hit
j / k, Up/Down Scroll
g / G, Home/End Scroll to top / bottom
{ / } Jump to previous / next message
[ / ] Jump to previous / next user message
w Toggle line wrap
e / c Expand / collapse all tool and system messages
e, h (Export tab) Open the HTML export modal; m exports Markdown
F7 Cycle context window size
Ctrl+Space Momentary "peek" to XL context

Detail Tabs#

The detail pane has six tabs, cycled with Tab:

Tab Content Best For
Messages Full conversation with markdown rendering Reading full context
Snippets Keyword-extracted summaries Quick scanning
Raw Unformatted JSON/text Debugging, copying exact content
Json Syntax-highlighted, pretty-printed JSON (static; no collapsible tree) Inspecting structured payloads
Analytics Per-session token timeline, tool calls, message stats Understanding one session
Export Export actions and filename previews (HTML/Markdown) Sharing a session

Context Window Sizing#

Control how much content shows in the detail preview. Cycle with F7:

Size Characters Use Case
Small ~200 Quick scanning, narrow terminals
Medium ~400 Default balanced view
Large ~800 Reading longer passages
XLarge ~1600 Full context, code review

Peek Mode (Ctrl+Space): Temporarily expand to XL context. Press again to restore previous size. Useful for quick deep-dives without changing your preferred default.

Mouse Support#

  • Click on result to select
  • Click on filter chip to edit/remove
  • Scroll in any pane
  • Double-click to open result

Bulk Operations#

Efficiently work with multiple search results at once:

Multi-Select Mode:

  1. Press Ctrl+X to toggle selection on current result (checkbox appears)
  2. Navigate to other results and press Ctrl+X again
  3. Press Ctrl+A to select/deselect all visible results
  4. Selected count shown in footer: "3 selected"

Bulk Actions Menu (Alt+B when items selected):

Action Description
Open All Open all selected files in editor
Copy Paths Copy all file paths to clipboard
Export Export selected results to file
Clear Selection Deselect all items

Multi-Open Queue: For opening many files without navigating away:

  1. Press Ctrl+Enter to add current result to queue
  2. Continue searching and adding more results
  3. Press Ctrl+O to open all queued items
  4. Confirmation prompt appears for 12+ items

Clipboard Operations:

  • Ctrl+Y - Copy the current item's path
  • Alt+Y - Copy the current item's snippet
  • Ctrl+Shift+C - Copy the current item's content
  • Bulk actions menu → Copy Paths for every selected item