diff options
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -33,7 +33,17 @@ set -g set-titles-string "#T" set-option -g allow-rename on set -g history-limit 10000 -setw -g mode-mouse on +# 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 |