Browse Source

* temporary disable page-(up|down) keys for automatic turned on tmux scrolling, because that incorrectly working on some cases

master
dimti 11 months ago
parent
commit
bb39260a93
  1. 6
      .tmux.conf

6
.tmux.conf

@ -119,9 +119,9 @@ bind -n M-Down select-pane -D
set -g mouse on set -g mouse on
# PageUp/PageDown works for scrolling # PageUp/PageDown works for scrolling
bind-key -T root PPage if-shell -F "#{alternate_on}" "send-keys PPage" "copy-mode -e; send-keys PPage"
bind-key -T copy-mode-vi PPage send-keys -X page-up
bind-key -T copy-mode-vi NPage send-keys -X page-down
#bind-key -T root PPage if-shell -F "#{alternate_on}" "send-keys PPage" "copy-mode -e; send-keys PPage"
#bind-key -T copy-mode-vi PPage send-keys -X page-up
#bind-key -T copy-mode-vi NPage send-keys -X page-down
# Same for the mouse scroll button # Same for the mouse scroll button
bind-key -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M" bind-key -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"

Loading…
Cancel
Save