Skip to content

Instantly share code, notes, and snippets.

@MQuy
Created March 2, 2016 07:54
Show Gist options
  • Save MQuy/cffe81ce6ad14a3b00e8 to your computer and use it in GitHub Desktop.
Save MQuy/cffe81ce6ad14a3b00e8 to your computer and use it in GitHub Desktop.
set -g prefix C-a
unbind C-b
bind a copy-mode
bind r source-file ~/.tmux.conf
setw -g mode-keys vi
set -g status-keys vi
set -g mouse on
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment