Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Mae avatar

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-marketplace

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars1
Last updatedJuly 25, 2026
Repositorycadrianmae/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

Version License: MIT

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 /nvr skill -- one interactive entry point with subcommand grammar
  • Git-root-aware discovery -- robust against :lcd changes from autocmds
  • Closest parent matching -- picks the most specific instance when multiple match
  • Auto-invocation -- Claude uses /nvr open automatically when you ask to open files
  • Multi-project support -- works across multiple simultaneous neovim instances
  • Environment override -- set $NVIM_SOCKET to 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:

  1. 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 :lcd changes from autocmds (e.g. cmp-pandoc-references).

  2. 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.

  3. Environment override: Setting $NVIM_SOCKET to a socket path bypasses all discovery.

See Also

Related skills

CLI & Terminalintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.