News for hackers. Stuff that matters.
Re:Tmux lets you select and copy text with your keyboard by square_usual on Friday April 02, 2021 @01:00AM (#26669123)
Seconded. Used tmux for basic ops stuff for ~2 years, didn't know about copying.
Re:Tmux lets you select and copy text with your keyboard by chaps on Friday April 02, 2021 @01:28AM (#26669208)
Been using it for about five, and honestly I stopped using this in my workflows a long time ago. My workflow now is to ctrl-a+z to maximize the pane, highlight (with the mouse) and hit ctrl-insert to copy and ctrl-shift-insert to paste, then ctrl-a+z to restore the pane. It's still a bit of a pane, but it's deeply ingrained enough into my muscle memory that it's smooth.

But... sublime is my text editor for notes and SQL. Everything else text related is in a terminal with vim mode enabled universally. Not sure why SQL is so annoying with vim..

Re:Tmux lets you select and copy text with your keyboard by boogies on Friday April 02, 2021 @09:54AM (#26671418)
If you `set-option mouse on`, tmux will let you use copy-mode just by clicking and dragging (intelligently within panes, negating the need to resize-pane -Z). But TBH I often do almost the same thing (but Xorg does its part of the copy-pasta without forcing any Emacs-esque three-finger keyboard chording, thank goodness), selecting text is the only thing I ever use the mouse for in the terminal (except rare scrolling, especially overflowed weechat bars), so I keep tmux’s mouse support off.
Re:Tmux lets you select and copy text with your keyboard by chaps on Friday April 02, 2021 @05:39PM (#26676269)
Ah yeah, I use that configuration option (love it), but I think the issue is that highlighting text doesn't stay highlighted unless I hold shift -- which shifts the mouse functionality to the terminal emulator. Maybe there's a setting to get around that, but it hasn't been a big enough deal to really try and figure out.
Re:Tmux lets you select and copy text with your keyboard by disqard on Friday April 02, 2021 @02:32AM (#26669426)
> It's still a bit of a pane

I see what you did there :)