CoCo CLI keyboard shortcuts

Master CoCo CLI with these keyboard shortcuts for efficient navigation.

Input shortcuts

ShortcutAction
EnterSubmit message
Ctrl-JInsert newline (multiline input)
Ctrl/Cmd-VPaste from clipboard
Ctrl-CCancel/interrupt (double-tap to exit)
EscCancel the current action or dismiss the active overlay (context-dependent)
Ctrl-KKill line (delete from cursor to end of line)
Ctrl-YYank (paste killed text)
Ctrl-AMove to line start
Ctrl-EMove to line end
Ctrl-BMove cursor left
Ctrl-FMove cursor right
Ctrl-DDelete character under cursor

View shortcuts

ShortcutAction
Ctrl-TOpen table viewer (cycle forward through cached SQL query results)
Ctrl-OCycle display mode: compact → expanded → transcript
Alt-TOpen or close the fullscreen todo viewer
Alt-GOpen fullscreen web search results view
Ctrl-SOpen or close the background agent (subagent) picker
Ctrl-BIf a bash tool call is running, move it to the background; otherwise go back one level
?Toggle help overlay (only when the input line is empty)

Mode shortcuts

ShortcutAction
Ctrl-PToggle plan mode
Ctrl-GToggle team mode
Shift-TabCycle permission level (confirm actions ↔ bypass safeguards)

Plan mode (Ctrl-P) and team mode (Ctrl-G) are independent toggles. They are not steps in the Shift-Tab permission-level cycle.

History navigation

ShortcutAction
Ctrl-ROpen history search; press again for the next older match
Ctrl-SWhile history search is open, go to the previous (newer) match
Ctrl-GCancel history search
EscCancel history search
Up / DownNavigate history (when at top/bottom of input)
Option-UpPrevious history entry
Option-DownNext history entry

Ctrl-S and Ctrl-G are context-dependent: outside of history search, Ctrl-S opens the background agent picker and Ctrl-G toggles team mode.

Table viewer shortcuts

Additional shortcuts for the table viewer (Ctrl-T):

ShortcutAction
TabCycle to next table
Shift-TabCycle to previous table
cCopy query to clipboard

Auto-complete triggers

Typing one of the trigger characters below begins auto-completion for commands, file paths, skills, or Snowflake tables.

TriggerAction
/Slash command completion
@File path completion
$Skill completion
#Snowflake table completion
TabAccept suggestion
Up / DownNavigate suggestions

Display modes

Press Ctrl-O to cycle through Compact, Expanded, and Transcript display modes for tool execution details.

Compact mode (Default)
  • Minimal tool execution display
  • Shows summary of operations
Expanded mode
  • Full tool execution details
  • Complete input/output display
Transcript mode
  • Full scrollable conversation transcript

Quick reference card

┌──────────────────────────────────────────────────────────┐
│                  CORTEX CODE SHORTCUTS                   │
├──────────────────────────────────────────────────────────┤
│  INPUT                  │  VIEW                          │
│  Enter      Submit      │  Ctrl-T    Table viewer        │
│  Ctrl-J     Newline     │  Ctrl-O    Cycle display mode   │
│  Ctrl-C     Cancel      │  Alt-T     Todo viewer          │
│  Ctrl-R     History     │  Alt-G     Web search results   │
│  Esc        Cancel      │  Ctrl-S    Subagent picker      │
│                         │  ?         Help overlay        │
├─────────────────────────┼────────────────────────────────┤
│  NAVIGATION             │  AUTOCOMPLETE                  │
│  Up/k       Up          │  /         Commands            │
│  Down/j     Down        │  @         Files               │
│  g          Top         │  $         Skills              │
│  G          Bottom      │  #         Tables              │
│  q/Esc      Exit        │  Tab       Accept              │
├─────────────────────────┴────────────────────────────────┤
│  Shift-Tab  Cycle permission level (confirm ↔ bypass)     │
│  Ctrl-P     Toggle plan mode   Ctrl-G  Toggle team mode   │
└──────────────────────────────────────────────────────────┘

Tips

  • Use Ctrl-O often: Switch between compact, expanded, and transcript display modes based on what you need to see.
  • Master Ctrl-R: History search is powerful for repeating complex prompts.
  • Vim-style navigation: The h/j/k/l keys work everywhere for cursor movement.
  • Double-tap patterns: For example, Ctrl-C Ctrl-C exits.