Skip to content

Instantly share code, notes, and snippets.

@Waester
Created May 29, 2026 06:01
Show Gist options
  • Select an option

  • Save Waester/36b8bca7482d237d35de0990f3b5dc4f to your computer and use it in GitHub Desktop.

Select an option

Save Waester/36b8bca7482d237d35de0990f3b5dc4f to your computer and use it in GitHub Desktop.
set -g mouse on
set -g history-limit 100000
set -s escape-time 0
set -g default-command $SHELL
unbind -T copy-mode MouseDrag1Pane
unbind -T copy-mode MouseDragEnd1Pane
unbind -T copy-mode DoubleClick1Pane
unbind -T copy-mode TripleClick1Pane
unbind -T root -a
bind -T root MouseDown1Pane select-pane
bind -T root MouseDown1Status select-window -t =
bind -T root MouseDrag1Border resize-pane -M
bind -T root WheelUpPane copy-mode -e \; send-keys -X -N 5 scroll-up
bind -T root WheelUpStatus previous-window
bind -T root WheelDownStatus next-window
bind X set-window-option synchronize-panes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment