Try mousewheel scrolling in tmux
dblume

dblume commited on 2025-01-07 14:56:21
Showing 1 changed files, with 2 additions and 0 deletions.


Set "mouse on" so that the mouse wheel scrolls through back buffer.

Without "mouse on" in tmux, then selecting text works as expected.
With "mouse on" in tmux, I'll have to hold the shift key to select text.
... ...
@@ -63,6 +63,8 @@ set -g status-right '#[fg=green]%m/%d %H:%M#[default]'
63 63
 setw -g mode-keys vi
64 64
 setw -g automatic-rename off
65 65
 setw -g aggressive-resize
66
+# For mouse wheel scrolling, but now have to hold shift when selecting text.
67
+set -g mouse on
66 68
 set -g set-titles on
67 69
 set -g set-titles-string "tmux / #T"
68 70
 #set -g allow-rename on  ## ssh'ed servers may rename window to PS1, duplicating path
69 71