Skip to content

Commit

Permalink
tmux/mac: Add keybind for scrolling in iTerm2 (not working)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssh0 committed Oct 20, 2017
1 parent 4f8a406 commit bb143d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tmux/mac/tmux.conf
Expand Up @@ -285,6 +285,8 @@ bind-key r source-file ~/.tmux.conf \; display "Reloaded!"

# you can resize pane by mouse
# set -g mouse-resize-pane on
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

#---------------------------------------------------------------------------}}}
# Color {{{
Expand Down

0 comments on commit bb143d4

Please sign in to comment.