← Back to list

nvim
by richardgill
⭐ 30🍴 1📅 Jan 21, 2026
SKILL.md
name: nvim description: | This skill should be used when the user asks to "open in nvim", "show in editor", "open file in nvim", "edit in nvim", "nvim open", "send to nvim", "open buffer", "view in neovim", or "open this in my editor". Requires NVIM_SOCKET environment variable to be set (automatic in worktree sessions). Not for editing files directly - this sends files to the user's nvim instance.
Open Files in Nvim
Open files in the running nvim instance connected to this tmux session.
Command
nvim --server "$NVIM_SOCKET" --remote <files...>
Environment
$NVIM_SOCKET- Path to the nvim socket (set automatically in worktree sessions)
Examples
# Open a single file
nvim --server "$NVIM_SOCKET" --remote src/index.ts
# Open multiple files
nvim --server "$NVIM_SOCKET" --remote src/index.ts src/utils.ts
# Open file at specific line (use +line before filename)
nvim --server "$NVIM_SOCKET" --remote +42 src/index.ts
Troubleshooting
- Socket not set: Ensure you're in a worktree session, or manually set
NVIM_SOCKET - Connection refused: The nvim instance may have closed; restart nvim with
v . --listen $NVIM_SOCKET - File not opening: Verify the file path is correct and accessible
Notes
- The socket is set via
tmux set-environmentat session creation - New panes/windows in the session inherit
NVIM_SOCKET
$ARGUMENTS
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon