roxma / vim-tmux-clipboard

seamless integration for vim and tmux's clipboard
MIT License
290 stars 24 forks source link
neovim tmux-clipboard vim

vim-tmux-clipboard

Things get messy when I need to copy lines of text from vim into tmux's clipboard, especially when multiple split-windows are opened. So I created this super simple plugin, which provides seamless integration for vim and tmux's clipboard.

vim-tmux-clipboard automatically copy yanked text into tmux's clipboard, and copy tmux's clipboard content into vim's quote(") register, known as the unnamed register. It also makes multiple vim processes on top of the same tmux session act like they're sharing the same clipboard.

Requirements

Options

Demo

asciicast