Skip to content
项目

roxma/vim-tmux-clipboard

在 GitHub 查看

关于

让 Vim 和 tmux 的剪贴板无缝集成。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
-3
15天
-3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…