Suppose you are working in macOS, and you decide to SSH into a Linux box and fire up terminal Emacs. How do you copy and paste between macOS and your SSH terminal-Emacs?
Copying and pasting between macOS and local terminal-Emacs is not a problem with xclip
: install xclip
through ELPA and put (xclip-mode 1)
in your Emacs init file. This doesn't work when running terminal Emacs over an SSH session, however, and while there is much information online about accessing the X11 clipboard from Emacs, I am running terminal Emacs on a remote machine that doesn't have X11 installed either way. Is there a solution for terminal Emacs copy-paste over an SSH session?
using it for tmux
and the principle should be the same. There is also a way with setting up aSSH remote tunnel and systemd service
, but personally that s