opencode.nvim
Integrate the opencode AI assistant with Neovim — streamline editor-aware research, reviews, and requests.
https://github.com/user-attachments/assets/077daa78-d401-4b8b-98d1-9ba9f94c2330
✨ Features
- Connect to any
opencode, or provide an integrated instance
- Share editor context (buffer, selection, diagnostics, etc.)
- Input prompts with completions, highlights, and normal-mode support
- Select prompts from a library and define your own
- Execute commands
- Monitor and respond to events
- View, accept or reject, and reload edits
- Interact with
opencode via an in-process LSP
- Vim-y — supports ranges and dot-repeat
- Simple, sensible defaults to get you started quickly
📦 Setup
{
"nickjvandyke/opencode.nvim",
version = "*", -- Latest stable release
dependencies = {
{
-- `snacks.nvim` integration is recommended, but optional