diff options
-rw-r--r-- | .tmux.conf | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -36,6 +36,15 @@ set -g history-limit 10000 # set mouse mode on set -g mouse on +# Wheel scroll in pane +unbind -T root WheelUpPane +unbind -T root WheelDownPane +bind -T root WheelUpPane if -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= "#{pane_in_mode}" "send-keys -M" "copy-mode -u"' + +# Wheel scroll in pane WHILE in copy-mode +bind -tvi-copy WheelUpPane halfpage-up +bind -tvi-copy WheelDownPane halfpage-down + # Logout with Ctrl+D bind-key ^D detach-client |