Created
October 29, 2015 09:29
-
-
Save spacepluk/d2f0b4370155d58477e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mouse settings | |
set-option -g -q mouse on | |
bind-key -T root PPage if-shell -F "#{alternate_on}" "send-keys PPage" "copy-mode -e; send-keys PPage" | |
bind-key -t vi-copy PPage page-up | |
bind-key -t vi-copy NPage page-down | |
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 WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M" | |
bind-key -t vi-copy WheelUpPane scroll-up | |
bind-key -t vi-copy WheelDownPane scroll-down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment