You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In OpenCode you can press ctrl+x down to open agents view, then go prev/next with left/right arrows keys, and go back to parent with up. It can be switched to Vim-like shortcuts in tui.json with:
In that case, in normal mode, pressing ,j correctly opens agents view, but plugin remains in normal mode, meaning the user is "stuck" in the agents view until they press i (keybinds are passed to OpenCode only in insert mode).
@cprn can you please verify this in opencode v2?
I coudln't reproduce it there, and ideally vimcode development focuses on v2 from now on.
Please lmk if you still experience this or a similar issue in v2 :)
I'm not using beta software. But if you were able to replicate it on 1.18 and can't replicate it on beta, then you can assume it's solved.
It'd mean they've changed the way keybinds work entirely, though, because I looked at the way you implemented normal/insert modes, and it seems to me that key presses are passed to OpenCode only in insert mode. So unless OpenCode v2 somehow grabs the key press events before your add-on, the issue should still happen. I might be wrong, I didn't spend much time on it.
Activity
oribarilan commentedon Oct 3, 2026
thanks for reporting! will be tackled soon (taking the time to go over all issues)
oribarilan commentedon Oct 3, 2026
@cprn can you please verify this in opencode v2?
I coudln't reproduce it there, and ideally vimcode development focuses on v2 from now on.
Please lmk if you still experience this or a similar issue in v2 :)
cprn commentedon Oct 3, 2026
I'm not using beta software. But if you were able to replicate it on 1.18 and can't replicate it on beta, then you can assume it's solved.
It'd mean they've changed the way keybinds work entirely, though, because I looked at the way you implemented normal/insert modes, and it seems to me that key presses are passed to OpenCode only in insert mode. So unless OpenCode v2 somehow grabs the key press events before your add-on, the issue should still happen. I might be wrong, I didn't spend much time on it.
fix: preserve Vim modes during subagent navigation
oribarilan commentedon Oct 4, 2026
@cprn i was able to reproduce this and fix it. Thanks! lmk how this fix is working for you :)
cprn commentedon Oct 13, 2026
Oh, I think I get it... it's in master branch, and not yet released. OK, I'll try to carve out some time to test it before release.