roxma / vim-tmux-clipboard

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

Can't seem to paste.. #17

Closed normen closed 4 years ago

normen commented 4 years ago

Hi,

first of all thanks for this plugin, it solves an issue many run into I suppose..

However I am having an issue - I don't seem to be able to paste within VIM, when I yank a line I can see the contents in the tmux register (<Ctrl-B>#) but when I paste using p in a different VIM panel, session or window I only get the contents that were copied by VIM into that " register previously, not the contents of the tmux register.

I am running the latest version of the plugin https://github.com/roxma/vim-tmux-clipboard/commit/47187740b88f9dab213f44678800cc797223808e

My VIM versions range from 7.4 to 8.2 on Linux and MacOS, all show the same behavior.

Maybe I am mistaken in thinking that the " register should be populated but when doing a :registers I don't see the tmux clipboard contents reflected anywhere.

Thanks again, Normen

normen commented 4 years ago

Sorry, I completely missed that I have to install vim-tmux-focus-events plugin as well under standard VIM.