Skip to content

Instantly share code, notes, and snippets.

@190ikp
Created May 28, 2020 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 190ikp/36bb60a95b468bc9846ac77dad357421 to your computer and use it in GitHub Desktop.
Save 190ikp/36bb60a95b468bc9846ac77dad357421 to your computer and use it in GitHub Desktop.
set -g default-terminal "tmux-256color"
set-option -g mouse on
bind-key -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-key -n WheelDownPane select-pane -t= \; send-keys -M
bind e setw synchronize-panes on
bind E setw synchronize-panes off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment