
Built a tiny Neovim plugin because I got tired of constantly copy/pasting between nvim and tmux.
Built a tiny Neovim plugin because I got tired of constantly copy/pasting between nvim and tmux.
It’s called send-to-tmux.nvim.
The idea is simple:
Select text in Neovim → send it directly to a tmux pane.
Sounds small, but it ended up improving my workflow way more than I expected, especially for AI coding / REPL-heavy workflows.
Some things it can do:
- send current line or visual selection
- reliably send multiline content via tmux paste-buffer
- edit content in a floating window before sending
- generate
file:line/file:start-endreferences for AI agents - preview pane info + recent output before choosing target pane
- optional auto-enter + auto-focus behavior
I originally made it because my workflow looked like this all day:
- write code in Neovim
- run commands in adjacent tmux pane
- copy
- switch pane
- paste
- switch back
- repeat 500 times
After a while, the friction becomes surprisingly annoying.
Now it feels much more like Neovim and tmux are one environment instead of two separate tools.
Feels especially nice when working with:
- Claude Code
- Codex CLI
- Python/IPython
- Node REPL
- shell-heavy workflows
- vibe coding setups
Curious if anyone else here has built similar “micro workflow” plugins lately.
u/Pristine_Study8012 — 9 days ago