this post was submitted on 22 Aug 2023
4 points (100.0% liked)

Tmux

200 readers
1 users here now

founded 1 year ago
MODERATORS
4
Copying selection help (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I've been using screen for a while, and the copy/pasting just behaved like being in a regular terminal window (Debian), as in Ctrl+Shift+c to copy.

I made the switch to Tmux a couple months ago and never looked back. The only gripe I've been having is copying text selections. I simply don't know how to make it work. There's are some shenanigans to enable copying, but somehow never got it to work, so I always end up detaching from the session, and then do the copying, then re-attach the session.

Is there any way to make the copying work just like in a regular terminal window (Ctrl+Shift+c)?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] psud 2 points 1 year ago (1 children)

Tmux has more complicated (and probably powerful) copy paste. This is a guide how to use it

[โ€“] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Oh this is a great guide, thanks ma man :)

EDIT: I don't know if lemmy supports wikis, but if yes, this would be a nice link to add in there.