vmux-clipboard
is a vim plugin that enables yanking and pasting text between vim buffers across panes/windows of tmux, byobu, screen, and other terminal multiplexers
- Using pathogen:
- clone the
vmux-clipboard
repo into~/.vim/bundle
- make sure to include
execute pathogen#infect()
in your.vimrc
- clone the
- Manually:
- put
plugin/vmux_clipboard.vim
into~/.vim/plugin/
andpy/vmux_clipboard.py
into~/.vim/py/
- put
- running
:WriteToVmuxClipboard
will make your most recently yanked text available across multiplexer panes - running
:ReadFromVmuxClipboard
will make the text in your vmux-clipboard available in the"
register, which can be put withp
- add maps for the
:WriteToVmuxClipboard
and:ReadFromVmuxClipboard
commands. Example:yy
+,y
in one pane,,p
+p
in another:-
let mapleader = "," map <silent> <leader>y :WriteToVmuxClipboard<cr> map <silent> <leader>p :ReadFromVmuxClipboard<cr>
vim
compiled with either+python
or+python3
- check with
vim --version | grep python
- check with