Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mingleeShade opened this issue Mar 16, 2023 · 8 comments
Open

Comments

@mingleeShade
Copy link

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 e629873, and my tmux settings are correct. What could be the problem?

微信图片_20230316103157

20230316-103414

@ojroques
Copy link
Owner

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.

@nbn22385
Copy link

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.

@ojroques
Copy link
Owner

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

@mingleeShade
Copy link
Author

mingleeShade commented Apr 20, 2023

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.

@ojroques
Copy link
Owner

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

@mingleeShade
Copy link
Author

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.

@andrescuco
Copy link

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

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

@MagnusBrzenk
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants