-
Notifications
You must be signed in to change notification settings - Fork 494
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
Copy-paste from Remote to Local (need more precisions) #20
Comments
faxotherapy
changed the title
Copy-paste from Remote to Local
Copy-paste from Remote to Local (need more precisions)
Apr 10, 2019
Just found something working nice and easy. Let's recap the first boring steps mentioned above:
Now, the fun part…
Enjoy! Note: also works with nested tmux sessions. No need to press |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
thanks a lot for sharing your tmux.conf. However, I need some more precisions with regard to yank. I'd like to select text and copy it from remote session and paste it into my local session. As I prefer keeping my own tmux.conf file I only grabbed the necessary part off your conf. file. So, I have inserted in my local tmux.conf the following:
I've got several questions:
yank.sh
on remote machine as well?tmux.conf
as well?set -g @copy_backend_remote_tunnel_port 11988
still necessary (coming fromtmux.remote.conf
)? If so, do I have to copy it onto the remote machine as well?Thanks for your time.
Notes: as a Mac user, I have:
9999
remoteforward=9997 localhost:9999
(SSH)yank.sh
andtmux.remote.conf
, but don't know whether they must be copied on both machines or not.tmux-yank
plug-in installed on both machines. Just in case…I tested the following on remote session and it works:
What I'd like to do instead is selecting text on remote, press
y
key, and the selected content jumps into my local clipboard.The text was updated successfully, but these errors were encountered: