Get the OpenCode poster 4 art directions — pick one below, click to zoom & compare.
⤢ OPENCODE KEYBOARD SHORTCUTS · MAC · 40 ESSENTIAL 1 2 3 4 5 6 7 8 9 0 Q W ⌃ Delete Pre… E ⌃ Move to Li… R ⌃ Rename S… T ⌃ Cycle Vari… Y U ⌃ Delete to L… I O P ⌃ Command… A ⌃ List Provid… S D ⌃ Delete Ses… F ⌃ Toggle Fav… G ⌃ Jump to Fi… H J K ⌃ ⌥ Toggle Wh… L Z ⌃ Suspend t… X ⌃ Leader Key C ⌃ Clear Input V B ⌥ Move Wor… N M MORE SHORTCUTS Interrupt Session ⎋ New Session ⌃ X › N Submit Prompt ↵ List Sessions ⌃ X › L Compact Session ⌃ X › C List Models ⌃ X › M Insert Newline ⇧ ↵ List Agents ⌃ X › A Cycle Agent ⇥ Undo Message ⌃ X › U Exit OpenCode ⌃ X › Q Export Session ⌃ X › X Session Timeline ⌃ X › G Cycle Recent M… F2 Toggle Sidebar ⌃ X › B Open External E… ⌃ X › E Copy Last Mess… ⌃ X › Y Session Status ⌃ X › S Cycle Agent ⇧ ⇥ Theme Picker ⌃ X › T Redo Message ⌃ X › R Page Up Messa… ⇞ Page Down Mes… ⇟ Move to Line Start ⌃ A Delete to End of… ⌃ K shortcutposters.com UPDATED JAN 2026 · COMPATIBLE WITH OPENCODE · MAC OPENCODE KEYBOARD SHORTCUTS · MAC · 40 ESSENTIAL 1 2 3 4 5 6 7 8 9 0 A ⌃ List Provid… Z ⌃ Suspend t… E ⌃ Move to Li… R ⌃ Rename S… T ⌃ Cycle Vari… Y U ⌃ Delete to L… I O P ⌃ Command… Q S D ⌃ Delete Ses… F ⌃ Toggle Fav… G ⌃ Jump to Fi… H J K ⌃ ⌥ Toggle Wh… L M W ⌃ Delete Pre… X ⌃ Leader Key C ⌃ Clear Input V B ⌥ Move Wor… N MORE SHORTCUTS Interrupt Session ⎋ New Session ⌃ X › N Submit Prompt ↵ List Sessions ⌃ X › L Compact Session ⌃ X › C List Models ⌃ X › M Insert Newline ⇧ ↵ List Agents ⌃ X › A Cycle Agent ⇥ Undo Message ⌃ X › U Exit OpenCode ⌃ X › Q Export Session ⌃ X › X Session Timeline ⌃ X › G Cycle Recent M… F2 Toggle Sidebar ⌃ X › B Open External E… ⌃ X › E Copy Last Mess… ⌃ X › Y Session Status ⌃ X › S Cycle Agent ⇧ ⇥ Theme Picker ⌃ X › T Redo Message ⌃ X › R Page Up Messa… ⇞ Page Down Mes… ⇟ Move to Line Start ⌃ A Delete to End of… ⌃ K shortcutposters.com UPDATED JAN 2026 · COMPATIBLE WITH OPENCODE · MAC ⤢ SESSION New Session ⌃ X › N List Sessions ⌃ X › L Compact Session ⌃ X › C Export Session ⌃ X › X Session Timeline ⌃ X › G Rename Session ⌃ R Session Status ⌃ X › S Delete Session ⌃ D Parent Session ⌃ X › ↑ First Child Session ⌃ X › ↓ CONTEXT Undo Message ⌃ X › U Copy Last Message ⌃ X › Y Redo Message ⌃ X › R Page Up Messages ⇞ Page Down Messages ⇟ Jump to First Message ⌃ G Jump to Last Message ⌃ ⌥ G QUICK Submit Prompt ↵ Insert Newline ⇧ ↵ Move to Line Start ⌃ A Move to Line End ⌃ E Delete to End of Line ⌃ K Delete Previous Word ⌃ W Delete to Line Start ⌃ U Delete Next Word ⌥ D Move Word Forward ⌥ F Move Word Backward ⌥ B Delete Whole Line ⌃ ⇧ D Undo Input Edit ⌃ − Redo Input Edit ⌃ . CONTROL Leader Key ⌃ X Interrupt Session ⎋ Command Palette ⌃ P Clear Input ⌃ C Exit OpenCode ⌃ X › Q Toggle Which-Key Panel ⌃ ⌥ K Suspend to Shell ⌃ Z Toggle Tips / Conceal ⌃ X › H CONFIG List Models ⌃ X › M List Agents ⌃ X › A Cycle Agent ⇥ List Providers ⌃ A Cycle Recent Models F2 Toggle Sidebar ⌃ X › B Open External Editor ⌃ X › E Cycle Agent (Back) ⇧ ⇥ Theme Picker ⌃ X › T Cycle Recent Models (Back) ⇧ F2 Toggle Favorite Model ⌃ F Cycle Variant ⌃ T OpenCode KEYBOARD SHORTCUTS · MAC · 50 BOTH LAYOUTS QWERTY Q W E R T Y AZERTY A Z E R T Y shortcutposters.com UPDATED JAN 2026 · COMPATIBLE WITH OPENCODE · MAC ⤢ SESSION 10 New Session ⌃ X › N List Sessions ⌃ X › L Compact Session ⌃ X › C Export Session ⌃ X › X Session Timeline ⌃ X › G Rename Session ⌃ R Session Status ⌃ X › S Delete Session ⌃ D Parent Session ⌃ X › ↑ First Child Session ⌃ X › ↓ CONTEXT 07 Undo Message ⌃ X › U Copy Last Message ⌃ X › Y Redo Message ⌃ X › R Page Up Messages ⇞ Page Down Messages ⇟ Jump to First Message ⌃ G Jump to Last Message ⌃ ⌥ G QUICK 13 Submit Prompt ↵ Insert Newline ⇧ ↵ Move to Line Start ⌃ A Move to Line End ⌃ E Delete to End of Line ⌃ K Delete Previous Word ⌃ W Delete to Line Start ⌃ U Delete Next Word ⌥ D Move Word Forward ⌥ F Move Word Backward ⌥ B Delete Whole Line ⌃ ⇧ D Undo Input Edit ⌃ − Redo Input Edit ⌃ . CONTROL 08 Leader Key ⌃ X Interrupt Session ⎋ Command Palette ⌃ P Clear Input ⌃ C Exit OpenCode ⌃ X › Q Toggle Which-Key Panel ⌃ ⌥ K Suspend to Shell ⌃ Z Toggle Tips / Conceal ⌃ X › H CONFIG 12 List Models ⌃ X › M List Agents ⌃ X › A Cycle Agent ⇥ List Providers ⌃ A Cycle Recent Models F2 Toggle Sidebar ⌃ X › B Open External Editor ⌃ X › E Cycle Agent (Back) ⇧ ⇥ Theme Picker ⌃ X › T Cycle Recent Models (Back) ⇧ F2 Toggle Favorite Model ⌃ F Cycle Variant ⌃ T OpenCode KEYBOARD SHORTCUTS · MAC · 50 BOTH LAYOUTS QWERTY Q W E R T Y AZERTY A Z E R T Y shortcutposters.com UPDATED JAN 2026 · COMPATIBLE WITH OPENCODE · MAC ⤢ OPENCODE · KEYBOARD SHORTCUTS Mac · 5 SETS · No.01 OPENCODE TOTAL 50 SHORTCUTS FOR MAC · SHIPPED COMBOS SETS CONTROL 08 SESSION 10 QUICK 13 CONFIG 12 CONTEXT 07 REF. EDITION · JAN 2026 shortcutposters.com Leader Key ⌃ X Interrupt Session ⎋ Command Palette ⌃ P Clear Input ⌃ C Exit OpenCode ⌃ X › Q Toggle Which-Key Panel ⌃ ⌥ K Suspend to Shell ⌃ Z Toggle Tips / Conceal ⌃ X › H New Session ⌃ X › N List Sessions ⌃ X › L Compact Session ⌃ X › C Export Session ⌃ X › X Session Timeline ⌃ X › G Rename Session ⌃ R Session Status ⌃ X › S Delete Session ⌃ D Parent Session ⌃ X › ↑ First Child Session ⌃ X › ↓ Submit Prompt ↵ Insert Newline ⇧ ↵ Move to Line Start ⌃ A Move to Line End ⌃ E Delete to End of Line ⌃ K Delete Previous Word ⌃ W Delete to Line Start ⌃ U Delete Next Word ⌥ D Move Word Forward ⌥ F Move Word Backward ⌥ B Delete Whole Line ⌃ ⇧ D Undo Input Edit ⌃ − Redo Input Edit ⌃ . List Models ⌃ X › M List Agents ⌃ X › A Cycle Agent ⇥ List Providers ⌃ A Cycle Recent Models F2 Toggle Sidebar ⌃ X › B Open External Editor ⌃ X › E Cycle Agent (Back) ⇧ ⇥ Theme Picker ⌃ X › T Cycle Recent Models (Back) ⇧ F2 Toggle Favorite Model ⌃ F Cycle Variant ⌃ T Undo Message ⌃ X › U Copy Last Message ⌃ X › Y Redo Message ⌃ X › R Page Up Messages ⇞ Page Down Messages ⇟ Jump to First Message ⌃ G Jump to Last Message ⌃ ⌥ G OPENCODE KEYBOARD SHORTCUTS · MAC · 14 ESSENTIAL 1 2 3 4 5 6 7 8 9 0 Q W E R T Y U I O P ⌃ Command… A S D F G H J K L Z X ⌃ Leader Key C ⌃ Clear Input V B N M MORE SHORTCUTS Interrupt Session ⎋ New Session ⌃ X › N Submit Prompt ↵ List Sessions ⌃ X › L Compact Session ⌃ X › C List Models ⌃ X › M Insert Newline ⇧ ↵ List Agents ⌃ X › A Cycle Agent ⇥ Undo Message ⌃ X › U Exit OpenCode ⌃ X › Q shortcutposters.com UPDATED JAN 2026 · COMPATIBLE WITH OPENCODE · MAC Keyboard map SESSION New Session ⌃ X › N List Sessions ⌃ X › L Compact Session ⌃ X › C QUICK Submit Prompt ↵ Insert Newline ⇧ ↵ CONTEXT Undo Message ⌃ X › U CONTROL Leader Key ⌃ X Interrupt Session ⎋ Command Palette ⌃ P Clear Input ⌃ C Exit OpenCode ⌃ X › Q CONFIG List Models ⌃ X › M List Agents ⌃ X › A Cycle Agent ⇥ OpenCode KEYBOARD SHORTCUTS · MAC · 14 ESSENTIAL BOTH LAYOUTS QWERTY Q W E R T Y AZERTY A Z E R T Y shortcutposters.com UPDATED JAN 2026 · COMPATIBLE WITH OPENCODE · MAC Isometric SESSION 03 New Session ⌃ X › N List Sessions ⌃ X › L Compact Session ⌃ X › C QUICK 02 Submit Prompt ↵ Insert Newline ⇧ ↵ CONTEXT 01 Undo Message ⌃ X › U CONTROL 05 Leader Key ⌃ X Interrupt Session ⎋ Command Palette ⌃ P Clear Input ⌃ C Exit OpenCode ⌃ X › Q CONFIG 03 List Models ⌃ X › M List Agents ⌃ X › A Cycle Agent ⇥ OpenCode KEYBOARD SHORTCUTS · MAC · 14 ESSENTIAL BOTH LAYOUTS QWERTY Q W E R T Y AZERTY A Z E R T Y shortcutposters.com UPDATED JAN 2026 · COMPATIBLE WITH OPENCODE · MAC Typewriter OPENCODE · KEYBOARD SHORTCUTS Mac · 5 SETS · No.01 OPENCODE TOTAL 14 SHORTCUTS FOR MAC · SHIPPED COMBOS SETS CONTROL 05 SESSION 03 QUICK 02 CONFIG 03 CONTEXT 01 REF. EDITION · JAN 2026 shortcutposters.com Leader Key ⌃ X Interrupt Session ⎋ Command Palette ⌃ P Clear Input ⌃ C Exit OpenCode ⌃ X › Q New Session ⌃ X › N List Sessions ⌃ X › L Compact Session ⌃ X › C Submit Prompt ↵ Insert Newline ⇧ ↵ List Models ⌃ X › M List Agents ⌃ X › A Cycle Agent ⇥ Undo Message ⌃ X › U Editorial OpenCode is an open-source terminal coding agent whose TUI is driven almost entirely from the keyboard. Most commands sit behind a leader key — Ctrl-X by default — while the prompt line keeps standard readline editing, so the two halves are worth learning together. Every binding here is the shipped default and can be remapped in tui.json.
Official: Official site
All OpenCode keyboard shortcuts (Mac)
Quick Config Session Control Context
Show all keys Show used keys only
+ 2 more controls in the table below
Quick Config Session Control Context
Show all keys Show used keys only
+ 2 more controls in the table below
Quick 13 Action Shortcut Submit Prompt ↵ Insert Newline ⇧ ↵ Move to Line Start ⌃ A Move to Line End ⌃ E Delete to End of Line ⌃ K Delete Previous Word ⌃ W Delete to Line Start ⌃ U Delete Next Word ⌥ D Move Word Forward ⌥ F Move Word Backward ⌥ B Delete Whole Line ⌃ ⇧ D Undo Input Edit ⌃ − Redo Input Edit ⌃ .
Config 12 Action Shortcut List Models ⌃ X then M List Agents ⌃ X then A Cycle Agent ⇥ List Providers ⌃ A Cycle Recent Models F2 Toggle Sidebar ⌃ X then B Open External Editor ⌃ X then E Cycle Agent (Back) ⇧ ⇥ Theme Picker ⌃ X then T Cycle Recent Models (Back) ⇧ F2 Toggle Favorite Model ⌃ F Cycle Variant ⌃ T
Session 10 Action Shortcut New Session ⌃ X then N List Sessions ⌃ X then L Compact Session ⌃ X then C Export Session ⌃ X then X Session Timeline ⌃ X then G Rename Session ⌃ R Session Status ⌃ X then S Delete Session ⌃ D Parent Session ⌃ X then ↑ First Child Session ⌃ X then ↓
Control 8 Action Shortcut Leader Key ⌃ X Interrupt Session ⎋ Command Palette ⌃ P Clear Input ⌃ C Exit OpenCode ⌃ X then Q Toggle Which-Key Panel ⌃ ⌥ K Suspend to Shell ⌃ Z Toggle Tips / Conceal ⌃ X then H
Context 7 Action Shortcut Undo Message ⌃ X then U Copy Last Message ⌃ X then Y Redo Message ⌃ X then R Page Up Messages ⇞ Page Down Messages ⇟ Jump to First Message ⌃ G Jump to Last Message ⌃ ⌥ G
Sourced from opencode.ai
·
Last verified September 25, 2026 (re-checked every 6 weeks)
·
Shortcuts last changed September 20, 2026
Unofficial reference. ShortcutPosters is not affiliated with, endorsed by, or
sponsored by OpenCode. All product names, logos, and trademarks are property of
their respective owners. See our licensing & trademark
notice .
These shortcuts, on physical keys
There is a Stream Deck profile for OpenCode — 48
shortcuts laid out across the keys, each one labelled, installed by
double-clicking a file. It fits every current Stream Deck model.
Get the OpenCode Stream Deck profile →
Frequently asked questions
Does the poster include every OpenCode shortcut? OpenCode has 50 keyboard shortcuts on macOS — the complete list is free to read on this page. The poster features the most essential ones, curated to stay readable on a wall.
Can I print it at home? Yes. The digital download is a high-resolution 300 DPI file you can print at home or at any print shop, in standard frame sizes.
Does it cover both Mac and Windows? We sell a separate edition per platform so every key matches your keyboard exactly. This page is the macOS edition.
Is this an official OpenCode product? No. This is an unofficial reference poster and is not affiliated with or endorsed by OpenCode. All trademarks belong to their respective owners. Was this reference helpful? Thanks — your feedback helps us improve.
▲ Yes
▼ No