Skip to content

Instantly share code, notes, and snippets.

@dersam
Created October 30, 2015 15:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dersam/693f850e22de9ea37909 to your computer and use it in GitHub Desktop.
Save dersam/693f850e22de9ea37909 to your computer and use it in GitHub Desktop.
tmux 2.1 Mouse Settings
#tmux 2.1 changes how it handles mouse events
#These settings should be all that is necessary to get scrolling and pane selection working again.
#From http://stackoverflow.com/questions/30185210/ubuntu-change-tmux-1-8-to-tmux-next-1-9
#iTerm doesn't require easysimbl
set -g mouse-utf8 on
set -g mouse on
bind -n WheelUpPane 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