Last active
January 3, 2017 11:30
Star
You must be signed in to star a gist
This file contains 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
# ssh keys | |
# `brew install reattach-to-user-namespace | |
set-option -g default-command "reattach-to-user-namespace -l bash" | |
# mouse scrolling | |
set-option -g mouse on | |
# make scrolling with wheels work | |
# @ref http://stackoverflow.com/a/33461197/2076595 | |
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" | |
bind -n WheelDownPane select-pane -t= \; send-keys -M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment