|
|
@ -119,9 +119,9 @@ bind -n M-Down select-pane -D |
|
|
|
set -g mouse on |
|
|
|
|
|
|
|
# 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 |
|
|
|
bind-key -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M" |
|
|
|