vim-oscyank icon indicating copy to clipboard operation
vim-oscyank copied to clipboard

After updating to the latest version, the plugin stopped working.

Open mingleeShade opened this issue 2 years ago • 9 comments

I updated the plugin to the latest commit on the master branch and noticed that when copying, a string similar to Base64 encryption appeared on the screen. However, after refreshing the screen, the string disappeared. Additionally, I am unable to copy the string to the windows clipboard using osc52. I am working on a Windows machine and connecting to a remote Linux machine via SSH. I am using tmux to manage multiple screens. The plugin was working fine on commit e6298736a7835bcb365dd45a8e8bfe86d935c1f8, and my tmux settings are correct. What could be the problem? 微信图片_20230316103157 20230316-103414

mingleeShade avatar Mar 16 '23 02:03 mingleeShade

Hello! I refactored the code recently, sorry for the disagreement. Can you share your tmux version, the terminal emulator you're using and your vim config?

In the meantime, you can checkout the v1.0.0 tag which is just before the refactoring.

ojroques avatar Mar 16 '23 08:03 ojroques

Same issue began happening for me too after updating, connecting to an Ubuntu 22.04 VM via SSH:

Reverted to tag v1.0.0 and working again, thanks.

nbn22385 avatar Mar 30 '23 17:03 nbn22385

Try adding set -s set-clipboard on to your tmux config @nbn22385.

ojroques avatar Apr 13 '23 08:04 ojroques

I use secureCRT connecting to an Debian9 via SSH, also use tmux as terminal multiplexer:

I already add set -g set-clipboard on in my tmux config.

mingleeShade avatar Apr 20 '23 09:04 mingleeShade

Are you sure secureCRT supports OSC52? Also can you try with set -s set-clipboard on?

ojroques avatar Apr 20 '23 09:04 ojroques

Yes, I am sure that my secureCRT supports OSC52. I have also tried with set -s set-clipboard on and the issue persists. Additionally, I have used an older version of 'vim-oscyank' and it worked without any problems.

mingleeShade avatar Apr 20 '23 11:04 mingleeShade

Same issue here, using the older version now as a bandaid fix:

Plug 'ojroques/vim-oscyank', { 'commit': 'e6298736a7835bcb365dd45a8e8bfe86d935c1f8' }

andrescuco avatar Jun 05 '23 18:06 andrescuco

I too had to revert to v1.0.0 to get it working again. TMUX 3.1b, Ubuntu 20.04, VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 19 2021 20:21:31)

AnastasiusVivaldus avatar Sep 19 '23 17:09 AnastasiusVivaldus