OpenCode Vim
Vim mode for OpenCode
An unofficial OpenCode fork with built-in Vim motions, navigation, and editing.
curl -fsSL https://raw.githubusercontent.com/leohenon/opencode-vim/ocv/install.sh | sh
ocv
[*]
Vim motions
Operators, text objects, visual selection, undo, repeat.
[*]
Session navigation
Move through session output with Vim controls.
[*]
Copy mode
Select and copy text from sessions.
[*]
Up to date
Updated daily to stay current with OpenCode releases.
Prefer a plugin?
Vim mode is also available as a plugin for the official OpenCode. Motions, operators, text objects, registers, and more, in the prompt only.
opencode plugin @leohenon/opencode-vim-plugin --global