]> Freerunner's - dotfiles.git/commitdiff
tmux: better scrolling
authorAndre Ramnitz <tux.rising@gmail.com>
Fri, 14 Feb 2025 22:13:21 +0000 (23:13 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Fri, 14 Feb 2025 22:13:21 +0000 (23:13 +0100)
dot-tmux.conf

index 10622b70152eb10d82102382859e2db7d18dfe57..ba4d589603ebd1094fc1faf11a35bec1b547f863 100644 (file)
@@ -1,3 +1,10 @@
+# use prefix-less PageUp if the alternate curses buffer is not used
+bind-key -n PPage if -F '#{alternate_on}' 'send-keys PPage' 'copy-mode -eu'
+
+# enable mouse scrolling (and more)
+# refer to https://github.com/tmux/tmux/commit/bf635e7741f7b881f67ec7e4a5caa02f7ff3d786
+set -g mouse on
+
 set -s escape-time 0
 set -g base-index 1
 set -g pane-base-index 1