-
Notifications
You must be signed in to change notification settings - Fork 11
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
Can't make it work with Mosh #24
Comments
This sounds like |
As another data point: I am using mosh and it works for the scope of this plugin. mosh --version Working with both Windows Terminal (client) and linux clients. The backend is linux. I did have to force my server-side to the most recent mosh version to get it working. Note: I'm also using tmux on the far end but I don't think that's related. I'm also using the tmux_passthrough setting which just merged (thanks ojroques). I can't see how that would be related to mosh though. There is an edge case with tmux and the copy-pipe command that I can't get to work (while copy-pipe-and-cancel does), but that's not within nvim. |
@IamGianluca I found the 'yank' script from https://sunaku.github.io/tmux-yank-osc52.html to be helpful when testing out osc52 on the remote. You can use it without tmux. It's a simple script to yank text via osc52. You could try it outside of nvim to make sure that you've got basic functionality working over mosh before moving into testing this plugin inside nvim. |
Upgrading
I can't describe the joy of copying the above from my remote config file with FYI, it works even without using this plugin. EDIT: I've also set |
@IamGianluca I may have to revisit using unamedplus in my config... thanks - it seems like it will be more convenient. Btw, I think the recent commit for 'tmux_passthrough' support should get rid of the need for that terminal overrides option. It uses a control code to tell tmux to pass the next command through to the terminal. I'd be curious if the following changes work for you: Remove your terminal-overrides, but set 'allow-passthrough on'
Then set 'tmux_passthrough = true' in your plugin settings:
Or not, if you don't want to bother :-) I'm mainly curious, since I found the allow-passthrough in tmux seemed to solve a lot of my problems. |
Hi,
Thank you for the plugin! It sounds exactly what I was looking for 🔥
My local OS is MacOS 14. I'm using iTerm2 to connect to a remote server with
mosh
. The remote server is running Ubuntu 22.04 and hasmosh
installed. I can connect to the server, and works perfectly, but the copy to local clipboard and paste from local clipboard functionality doesn't work. Ismosh
supported?If using
ssh
instead ofmosh
, things work, even without this plugin. I wanted to use this plugin hoping it would make the copy/paste from/to local clipboard work.The text was updated successfully, but these errors were encountered: