neovim
Installation
SKILL.md
Neovim RPC
When Claude Code runs inside a Neovim terminal, the $NVIM environment variable
points to the parent Neovim's Unix socket. This gives full access to Neovim's
msgpack-RPC API without any plugins or HTTP servers.
Prerequisites
Before sending any commands, verify the socket is available:
echo "$NVIM"
If $NVIM is empty, you are not running inside a Neovim terminal and cannot
communicate with a Neovim instance.