Tmux copy line through line breaks

I started using tmux to open multiple panels at the same time, but whenever I have a vertical split, it is difficult for me to copy and select lines. How to make my mouse selection after line break, how does my regular bash do it?

Also, is there a way to select part of the line and continue selecting the rest after I pull my finger out of the Shift key?

+5
source share
2 answers

You can use the zoom function by pressing prefix + z . The currently active panel will become full-screen (press prefix + z to switch), and now you can make a mouse selection as if there was no splitting.

+6
source

configurations for activating mouse actions exist:

 set -g mouse-select-pane on set -g mouse-resize-pane on #resize panel with mouse set -g mouse-select-window on #select window with mouse setw -g mode-mouse on #Make mouse useful in copy mode 

try adding them to your tmux.conf

+1
source

Source: https://habr.com/ru/post/1205838/


All Articles