Hacker News new | past | comments | ask | show | jobs | submit login

I use Terminator (http://www.tenshu.net/p/terminator.html) primarily on local machines instead of screen/tmux(or byobu). I get the added benefit of scrolling.

I tend to copy paste a lot from log tails etc into my my text editor for quick searches or other things. The infinite scroll feature(with a scroll bar) helps me out a lot. In tmux/screen i still haven't figured out a good workflow to copy a few screenful of content.

On servers i tend to use Byobu bindings which now use tmux(used Gnu screen some time ago). It has good defaults and some help for newbies to get used to.




If you're in copy mode in tmux - prefix [ then you can use emacs or vim keybindings to do your selection and copying, and then it's just prefix ] to paste into an editor. If you're comfortable selecting a few pages of text with Vim, it doens't take a terribly long time to get used to doing it with tmux.

That said, use what makes you productive, and be happy!


Have you tried tmux's mouse modes?

You can use the mouse wheel to scroll and highlight to copy. I think you are specifically trying to say the mouse highlight won't go past one window though, right?

You can also resize panels and select widows.


I knew I saw a way to interact with it through the mouse. Thank you for reminding me. `tmux` is really a neatly little program, everything is there, simple and efficient.

ps:

    man tmux | grep "mouse-" # shows the mouse related options
    C-b : "set mouse-<option> on"
pps: turning on mouse windows/panels interactions disable text selection, do you know a way to have both ? (beside switching beside custom defined modes on your .conf)


You can always do text selection in a terminal by holding shift while selecting the text, no matter if the program running in the terminal supports mouse or not. I think on some terminals it's alt instead of shift.


I don't seem to have that problem, :/

make sure "mouse-mode on" is set, rather than "mouse-mode copy-mode".

Here is my mouse config:

set-window-option -g mode-mouse on

set-option -g mouse-resize-pane on

set-option -g mouse-select-pane on

set-option -g mouse-select-window on

set-option -g mouse-utf8 on




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: