Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@minademian
Created May 26, 2017 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save minademian/07bd91f2ce182b7f69c220531b8741f8 to your computer and use it in GitHub Desktop.
Save minademian/07bd91f2ce182b7f69c220531b8741f8 to your computer and use it in GitHub Desktop.
# Add this to your .tmux.conf
set -g mouse on
set-option -g -q mouse on
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment