OpenCode keyboard shortcuts

OpenCode's terminal interface puts most of its commands behind a leader key, Ctrl+X by default: press it, let go, then press the letter. The leader, the two-second wait for the next key and the other keybinds can all be changed in tui.json, and every row below is the default OpenCode documents.

88 shortcutsWindows and MacChecked 27 September 2026

Checked against OpenCode documentation — Keybinds, OpenCode documentation — TUI, OpenCode documentation — Agents and OpenCode repository — default keybind definitions, v1.18.32. Version: OpenCode 1.18.32, terminal interface, default keybinds.

88 shortcuts

The top 20 are the OpenCode shortcuts this page marks as the ones to learn first, in the order they appear here. The drill asks the marked ones first too, shuffled. Or tick your own and print those.

Next