Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 958 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 958 Bytes

opencode-vim

Vim-style prompt editing and session navigation for OpenCode 2.

Vim prompt editing, dialog navigation, and session mode

Installation

opencode plugin add opencode-vim@latest

Updating

opencode plugin update opencode-vim@latest

Restart the terminal UI after updating to load the new version.

Usage

Press Esc to enter normal mode and i to type again in insert mode.

In a session, press s from normal mode to browse messages and tools. Use j/k to navigate, Enter to open an item, and s to return to the prompt.

Subagent entries open the full saved response, with Vim navigation, selection, and copying. Background completion entries use the same reader.

Use /vim to toggle the plugin on or off.

Documentation