Skip to content
Projects

roxma/vim-tmux-clipboard

View on GitHub

About

Seamless clipboard integration between Vim and tmux.

Developer Tools

How these counts are measured

Measured star growth

in 24h
0
in 7 days
-3
in 15 days
-3
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

  • add set -g focus-events on to your tmux.conf.
  • vim-tmux-focus-events for vim users.
  • neovim or vim above 8.0.1394 is recommended for TextYankPost event, which is required for It also makes multiple vim processes on top of the same tmux session act like they're sharing the same clipboard.

Options

  • g:vim_tmux_clipboard#loadb_option see #20

Demo

asciicast

Explore related projects

Loading…