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-clipboardrepo into~/.vim/bundle - make sure to include
execute pathogen#infect()in your.vimrc
- clone the
- Manually:
- put
plugin/vmux_clipboard.viminto~/.vim/plugin/andpy/vmux_clipboard.pyinto~/.vim/py/
- put
- running
:WriteToVmuxClipboardwill make your most recently yanked text available across multiplexer panes - running
:ReadFromVmuxClipboardwill make the text in your vmux-clipboard available in the"register, which can be put withp - add maps for the
:WriteToVmuxClipboardand:ReadFromVmuxClipboardcommands. Example:yy+,yin one pane,,p+pin another:-
let mapleader = "," map <silent> <leader>y :WriteToVmuxClipboard<cr> map <silent> <leader>p :ReadFromVmuxClipboard<cr>
vimcompiled with either+pythonor+python3- check with
vim --version | grep python
- check with