Skip to content

Instantly share code, notes, and snippets.

@teyou
Created November 6, 2017 02:14
Show Gist options
  • Save teyou/fedc3b50d7335461c71e7b8e38c7eeca to your computer and use it in GitHub Desktop.
Save teyou/fedc3b50d7335461c71e7b8e38c7eeca to your computer and use it in GitHub Desktop.
My Tmux Mac OSX (v 2.1 above)
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; send-keys -M'"
# Install plugin -> https://github.com/tmux-plugins/tpm
# then follow instuction to install after setting this file
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment