I'm reconsidering my terminal emulator and was curious what everyone was using.

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 3 years ago

You absolutely can. You just have to use a clipboard command as the copy/paste. Add this to your ~/.tmux.conf

bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel -i -b"
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xsel -i -b"

or use your favorite cli clipboard command. Note that those are using the vi bindings; you might have to adapt the config.

  • source
  • parent