Skip to content

Instantly share code, notes, and snippets.

View Problematic's full-sized avatar

Derek Stobbe Problematic

View GitHub Profile
@Problematic
Problematic / README.md
Created July 21, 2026 22:39
Double-click a path in tmux to open it in the adjacent Neovim pane (per-pane RPC socket + click-word cleanup)

Double-click a path in tmux → open it in the adjacent Neovim pane

Double-click any path in a tmux pane (a git status line, an rg hit, a stack-trace frame, a ToolName(path) tool-call line, …) and it opens in the Neovim instance running in another pane of the same window, jumping to the right line/col when the token carries a :line[:col] suffix.

It works by giving each nvim a per-pane RPC socket, then having a tmux double-click binding hand the clicked word to a small script that cleans it up and sends :edit to that socket.