Need to enable scrolling into tmux panels with mouse wheel. How can I get that tips? Can I use it (if its exist of course) with mouse-select-pane on option?
You can scroll up and down in Tmux by using the following: Press Ctrl + B keys followed by the [ key. Now use the normal navigation keys on the keyboard like up arrow/down arrow, page up, page down, etc. to navigate the Tmux interface.
Scrolling Up and Down in Tmux If you want to scroll the Tmux terminal, enter the copy mode by pressing the “Ctrl+b” combination and entering “[”. Now, you can use the navigation keys like arrows (up and down) for moving line by line. Left and right arrows can be used for character by character moving.
Configure Tmux for Mouse SupportRestart Tmux or run the Tmux command source ~/. tmux. conf , and you should be able to scroll up or down the scrollback with your mouse. You'll also be able to select a pane with the mouse and resize them.
Switching between panes To get from one pane to another, press Ctrl+B followed by O (as in other).
Try this:
setw -g mode-mouse on
It can be used with the mouse-select-pane on
and mouse-select-window on
options.
After tmux 2.1, mode-mouse
option is no longer available. You should now use:
set -g mouse on
to capture mouse event.
There are some changes for Tmux 2.1
Mouse-mode has been rewritten. There's now no longer options for:
Instead there is just one option: 'mouse' which turns on mouse support entirely.
So set -g mouse on
Update:
I have to use this script to make scrolling work again: https://github.com/NHDaly/tmux-scroll-copy-mode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With