Help us improve
Share bugs, ideas, or general feedback.
From neovim
Neovim remote control and socket management for tmux environments. Use this skill when you need to control Neovim instances from agents, open files in existing editor sessions, navigate to specific lines, search for patterns, or get editor status without direct terminal access.
npx claudepluginhub mbailey/neovim --plugin neovimHow this skill is triggered — by the user, by Claude, or both
Slash command
/neovim:neovimThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Remote control of Neovim instances running in tmux panes via socket-based communication.
Creates p5.js generative art with seeded randomness, noise fields, and interactive parameter exploration. Use for algorithmic art, flow fields, or particle systems.
Share bugs, ideas, or general feedback.
Remote control of Neovim instances running in tmux panes via socket-based communication.
This skill provides AI agents with the ability to:
Use this skill when:
Neovim instances expose sockets for remote control when started with --listen:
/tmp/nvim-tmux-pane-{PANE_ID}% prefix)When no socket is specified, nvim-socket auto selects based on:
nvim-socketDiscover and manage Neovim sockets in tmux environments.
nvim-socket list
Output shows: pane ID, window, directory, command for each socket.
nvim-socket find # Current pane
nvim-socket find 15 # Pane 15
Returns socket path or error if not found.
nvim-socket show # Current pane
nvim-socket show 28 # Pane 28
Shows: socket path, pane ID, window, directory, command, current file.
nvim-socket auto
Returns socket path based on priority (current pane > same window > same dir > any).
nvim-remoteControl Neovim instances via CLI commands (no Python/pynvim required).
nvim-remote edit file.txt # Open at first line
nvim-remote edit file.txt 42 # Open at line 42
nvim-remote edit /path/to/file.md 100 # Absolute path, line 100
Opens file in existing Neovim session. If line number specified, cursor moves to that line.
nvim-remote goto 100 # Jump to line 100
nvim-remote goto 1 # Jump to first line
Moves cursor to specified line without changing files.
nvim-remote search "TODO" # Search for TODO
nvim-remote search "function.*init" # Regex search
nvim-remote search "error" # Case-sensitive
Searches current buffer and highlights matches. Cursor moves to first match.
nvim-remote status
Returns: socket path, current file, cursor position, editor mode, modified status, filetype, total line count.
nvim-remote -s /tmp/nvim-tmux-pane-15 edit file.txt
nvim-remote --socket /tmp/nvim-tmux-pane-28 status
Override auto-detection with explicit socket path.
nvim-remote edit ~/project/src/main.py 45
Agent use case: Show user problematic code at exact line.
nvim-remote goto 127
Agent use case: After analyzing logs, jump to error line.
nvim-remote search "TODO"
Agent use case: Help user find incomplete work.
nvim-remote status
Agent use case: Understand context before making suggestions.
nvim-socket list
nvim-remote -s /tmp/nvim-tmux-pane-28 edit notes.md
Agent use case: Multiple Neovim sessions, need specific one.
NVIM_SOCKET_PATH: Default socket path for nvim-remoteNVIM_TEST_SOCKET: Socket path for testingAlways verify socket exists before sending commands:
SOCKET=$(nvim-socket auto)
if [[ $? -ne 0 ]]; then
echo "No Neovim instance found"
exit 1
fi
Check current file before editing -- avoid disrupting user's work.
Use absolute paths when opening files:
nvim-remote edit "$(realpath file.txt)"
Provide feedback -- confirm what happened after operations.
Handle errors gracefully:
if ! nvim-remote edit missing.txt 2>/dev/null; then
echo "Error: Could not open file"
exit 1
fi
nvim-tmux - Open file/directory in Neovim in new tmux windownvim-install - Install Neovimnvim-clean-swapfiles - Clean stale swap filesFor detailed technical documentation, see: