ShortcutFoo uses a Spaced Repetition System that adapts to your training.

Essentials I
^P
Open the command palette
^X n
Start a new session
^X l
List and switch sessions
ESC
Interrupt the session
TAB
Cycle agents

Essentials II
^X e
Open the external editor
^X u
Undo the last message
^X r
Redo the undone message
^X q
Exit OpenCode

Models & Agents
^X m
List models
^X a
List agents
⇧TAB
Cycle agents in reverse
F2
Cycle recent models
⇧F2
Cycle recent models in reverse
^X b
Toggle the sidebar
^X s
View status

Sessions
^X c
Compact the session
^X x
Export the conversation
^X g
Session timeline
^R
Rename the session
^X y
Copy the message
^X t
List themes
^X DOWN
Go to the first child session

Editing the Prompt
⇧↵
New line
^A
Move to start of line
^E
Move to end of line
^K
Delete to end of line
^U
Delete to start of line
⌥B
Move back one word
⌥F
Move forward one word

Slash Commands I
/new
Start a new session
/init
Create or update AGENTS.md
/models
List available models
/compact
Compact the current session
/undo
Undo the last message
/sessions
List and switch sessions

Slash Commands II
/export
Export the conversation to Markdown
/thinking
Toggle thinking blocks
/connect
Add a provider
/help
Show help
/exit
Exit OpenCode

