Claude Code editor integration

claude-code.nvim

Streamlined Neovim plugin for Claude Code with git worktree support.

Install

From source
git clone https://github.com/sivchari/claude-code.nvim.git

From the README

๐Ÿค– claude-code.nvim

A streamlined Neovim plugin for seamlessly using Claude Code with git worktree support.

๐ŸŽฌ Demo

*Watch the complete workflow: worktree creation, Claude integration, and real-time session management*

โœจ Features

๐ŸŽฏ Core Features
- One-key Claude toggle with cc - instant access to Claude CLI
- Per-worktree Claude sessions - each git worktree gets its own independent Claude instance
- Real-time session monitoring - see all Claude sessions at a glance
- Seamless worktree management - create, switch, and manage worktrees from Neovim
- nvim-tree integration - worktree operations directly from the file explorer

๐Ÿš€ Advanced Features
- Live session monitor - dedicated window showing all Claude sessions in real-time
- Independent terminal sessions - each worktree maintains its own Claude CLI state
- Automatic context switching - Claude sessions automatically update when switching worktrees
- Clean interface - minimal, distraction-free design

๐Ÿ“ฆ Installation

Using lazy.nvim

Using packer.nvim

๐ŸŽฎ Usage

Basic Operations

Git Worktree Management

nvim-tree Integration

When in nvim-tree buffer:

๐Ÿ“Š Real-time Session Monitor

Press cm to toggle the Claude sessions monitor:

- โ— = Claude CLI running
- โ—‘ = Claude waiting for user input
- โ— = Terminal ready (Claude not active)
- โ—‹ = No session
- \* = Currently visible session
- Auto-refresh every 2 seconds

๐Ÿ”„ Workflow Examples

Creating a new feature branch

1. Create worktree: cw โ†’ select "Create new worktree"
2. Open Claude: cc (automatically creates session for this worktree)
3. Monitor sessions: cm to see all active Claude sessions
4. Switch between features: cw to change worktrees, Claude sessions switch automatically

Working with multiple features

1. Start monitor: cm to see all sessions
2. Switchโ€ฆ
Read the full README on GitHub

Details

Language
Lua
License
MIT
Last updated
4 July 2025
Topics
claudeclaude-aiclaude-codeneovimneovim-pluginvim

FAQ

What is claude-code.nvim?

Streamlined Neovim plugin for Claude Code with git worktree support. It is a editor integration for Claude Code, from sivchari/claude-code.nvim on GitHub.

How do I install claude-code.nvim?

Clone sivchari/claude-code.nvim from GitHub and follow the setup steps in its README.

Is claude-code.nvim popular?

sivchari/claude-code.nvim has 23 GitHub stars and 0 forks. It was last updated on 4 July 2025.

More editor integrations

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