
Nvr
- 1 repo stars
- Updated July 25, 2026
- cadrianmae/claude-marketplace
Drive Neovim from Claude Code via Neovim Remote — open files, list buffers, check status, and manage workspaces with git-root-aware socket discovery.
About
NVR integrates Neovim Remote with Claude Code, exposing a unified command with open, list, status, and workspace subcommands. It uses git-root-aware socket discovery so the right Neovim instance is targeted per project. This lets the agent drive an editor session directly while coding.
- Neovim Remote (nvr) integration
- Unified /nvr command
- open/list/status/workspace subcommands
- Git-root-aware socket discovery
Nvr by the numbers
- Data as of Jul 26, 2026 (Skillselion catalog sync)
/plugin marketplace add cadrianmae/claude-marketplace/plugin install nvr@cadrianmae-claude-marketplaceAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 1 |
|---|---|
| Last updated | July 25, 2026 |
| Repository | cadrianmae/claude-marketplace ↗ |
What it does
Drive Neovim from Claude Code via Neovim Remote — open files, list buffers, check status, and manage workspaces with git-root-aware socket discovery.
README.md
NVR Plugin v2.0
Neovim Remote integration for Claude Code. Unified /nvr command for opening files, listing instances, checking status, and viewing workspace context. Git-root-aware socket discovery.
Overview
The NVR plugin enables Claude to seamlessly open files in your active neovim editor. It automatically discovers which neovim instance corresponds to your current project using a two-pass strategy: git root matching first (immune to :lcd changes), then closest parent cwd matching as fallback.
Key features:
- Unified
/nvrskill -- one interactive entry point with subcommand grammar - Git-root-aware discovery -- robust against
:lcdchanges from autocmds - Closest parent matching -- picks the most specific instance when multiple match
- Auto-invocation -- Claude uses
/nvr openautomatically when you ask to open files - Multi-project support -- works across multiple simultaneous neovim instances
- Environment override -- set
$NVIM_SOCKETto bypass discovery
Prerequisites
| Requirement | How to verify |
|---|---|
| neovim | nvim --version |
| neovim-remote (nvr) | nvr --version (install: pip install neovim-remote) |
Command
/nvr-- Interactive entry point for open / list / status / workspace / help. Accepts arguments to skip prompts (e.g./nvr open README.md 42).
Quick Start
# Open a file at a specific line
/nvr open src/main.py 42
# List all active neovim instances
/nvr list
# Check current instance details
/nvr status
# Show workspace context (git + neovim)
/nvr workspace
Subcommand Grammar
/nvr -> AUQ menu (interactive)
/nvr open <file> [line] -> open file at optional line
/nvr list -> list all neovim instances
/nvr status -> current instance details
/nvr workspace -> workspace context
/nvr help -> usage reference
Socket Discovery
The nvr-discover utility finds the correct neovim instance using a two-pass strategy:
Git root match (preferred): Query each neovim instance for its git root. Pick the instance whose git root is the longest prefix of the target directory. Immune to
:lcdchanges from autocmds (e.g. cmp-pandoc-references).Closest parent cwd match (fallback): If no git root match, fall back to
getcwd()matching. Pick the instance whose working directory is the longest prefix of the target directory.Environment override: Setting
$NVIM_SOCKETto a socket path bypasses all discovery.
See Also
- CHANGELOG.md -- Version history
/nvr help-- In-app subcommand reference- neovim-remote -- Upstream nvr project