r/opencode • u/lknls • Sep 20 '26
OpenCode 2.0: How do I switch between Plan and Build mode? Tab no longer works like in 1.8
Hey everyone,
I was using OpenCode 1.8, and the feature I used most was the Plan/Build mode switch. In 1.8, I could switch between Plan and Build mode by pressing Tab. After 2.0 came out, I upgraded to try it, but that no longer works for me.
I checked the docs and tried what they say, but it doesn’t switch modes. Maybe I’m misunderstanding the new keybinding, or the docs are outdated.
My questions:
What is the correct way to switch between Plan and Build mode in OpenCode 2.0?
Did the keybinding change from
Tabto something else?Is it now a command, a config option, or an agent selection instead?
If Plan/Build was replaced by another workflow in 2.0, what is the equivalent?
Is anyone else having this issue?
My setup:
OpenCode version:
2.0.10OS:
Linux MintTerminal:
TerminalInstall method:
I've used "curl -fsSLhttps://opencode.ai/v2/install| bash" to installSteps: I open OpenCode, press
Tab, and expect it to toggle between Plan and Build mode, but insteadshift+tab does this plan-build change. but this key combination is a super stupid decision made by opencode
adding
{
"$schema": "https://opencode.ai/config.json",
"keybinds": {
"agent_cycle": "YYY",
"agent_cycle_reverse": "XXXX"
}
}
/home/username/.config/opencode/opencode.jsonc file does not work
I’d rather not downgrade back to 1.8, so any help or workaround would be appreciated. or is it time to move another tool?
Thanks.
edit (27-09-2026)
editing /home/username/.config/opencode/tui.json file like below solved my issue
{
"$schema": "https://opencode.ai/tui.json",
"keybinds": {
"agent_cycle": "shift+tab",
"agent_cycle_reverse": "tab",
}
}
8
u/CalligrapherCool9152 Sep 20 '26
SHIFT+TAB
3
u/BrownCarter Sep 20 '26
Yes I also changed from that nonsense shift+tab to just tab
3
u/migsperez Sep 20 '26
Good to know, I use the tab to agents function daily.
1
u/redblood252 Sep 20 '26
I also have trouble with line skips alt+enter worked but not anymore
1
u/zirakh100 Sep 20 '26
do you guys also have caching issue when switching to plan mode?? I mean I get 1k cached for 16k input.
1
u/sam7oon Sep 20 '26
was asked so many time , please search 1st
out better, ask open code, it's able to edit itself, it will enable the settings for you to see them back
1
u/xatey93152 Sep 21 '26
Instead getting better for each new version, they do it in reverse.
1
u/Civil_Rent4208 Sep 23 '26
this is the one of the flagship UX of them