Skip to content

Instantly share code, notes, and snippets.

@sublimino
Last active July 13, 2022 13:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sublimino/a854b3bf9ac1cb94f640cd966c987f69 to your computer and use it in GitHub Desktop.
Save sublimino/a854b3bf9ac1cb94f640cd966c987f69 to your computer and use it in GitHub Desktop.
tmux, terminator, and copyq

This has caused a not-inconsiderable amount of trouble! But finally, I've fixed copypasta:

Terminator

  1. enable global -> smart copy (only affects mapping of ctl-c if text selected)
  2. Disable profile -> copy on selection

copyq

  1. store clipboard
  2. store text using mouse
  3. ^^paste clipboard with mouse^^
  4. ^^paste mouse selection with keyboard^^

tmux

  1. hold down shift before middle mouse button click
  2. or double click the middle button
  3. ctrl-shift-b to paste mouse buffer
@delameter
Copy link

wow thanks!
was frustrated about incapability of copying text from tmux while sshing to remote server (therefore, no xclip). selecting the text with shift holded did the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment