Claude Code editor integration

code-bridge.nvim

Neovim plugin for chatting with Claude Code from the editor.

67 stars 12 forksEditor integrations Source

Install

From source
git clone https://github.com/samir-roy/code-bridge.nvim.git

From the README

code-bridge.nvim

A Neovim plugin that provides seamless integration between Neovim and Claude Code or other similar terminal
based coding agent like OpenCode, allowing you to send file context and queries directly to the agent from
within your Neovim either via CLI or tmux. Messages can be sent to the agent in another tmux terminal or to
a chat buffer split within Neovim.

The goal of this plugin is not to provide the full IDE experience that Claude Code offers. This plugin
aims to make it easy to chat with claude code without running a terminal inside Neovim, and to interact
with a Claude Code session already running in agent mode in another terminal via tmux (or clipboard).

Features

Context Sharing

Send context information to the agent with support for current file, all open buffers, line ranges, git
diffs, or recently changed files. Context can be sent to the agent via the system clipboard or via tmux.
The tmux integration allows for flexible targeting via the window name or process search to find the pane
running the agent.

Quick Chat

A quick chat interface to query the agent that splits open a persistent chat buffer. Allows for chatting with
the agent within Neovim. This is useful for quickly asking questions outside of the session running in the
agent or when there is no coding agent running.

Interactive Prompt Composer

Interactive prompts allow for composing the prompt within Neovim before sending to the agent. Multiple file
contexts can be easily added to the prompt along with information or questions and the prompt can be composed
with full vim editor support, before sending to the agent. Hide and resume the prompt composer as needed to
easily write detailed prompts.

Requirements

- Neovim 0.11+
- Claude Code or Opencode installed and configured
-…
Read the full README on GitHub

Details

Language
Lua
License
GPL-2.0
Last updated
23 June 2026

FAQ

What is code-bridge.nvim?

Neovim plugin for chatting with Claude Code from the editor. It is a editor integration for Claude Code, from samir-roy/code-bridge.nvim on GitHub.

How do I install code-bridge.nvim?

Clone samir-roy/code-bridge.nvim from GitHub and follow the setup steps in its README.

Is code-bridge.nvim popular?

samir-roy/code-bridge.nvim has 67 GitHub stars and 12 forks. It was last updated on 23 June 2026.

More editor integrations

Browse the most popular Claude Code mods, all editor integrations, or the skills and MCP server directories.