From: Andre Ramnitz Date: Fri, 14 Feb 2025 22:13:21 +0000 (+0100) Subject: tmux: better scrolling X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=cd11af09812dfe854922eb9cc123d384662e5eea;p=dotfiles.git tmux: better scrolling --- diff --git a/dot-tmux.conf b/dot-tmux.conf index 10622b70..ba4d5896 100644 --- a/dot-tmux.conf +++ b/dot-tmux.conf @@ -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