Skip to content

Instantly share code, notes, and snippets.

@lmduc
Last active March 2, 2016 07:58
Show Gist options
  • Save lmduc/7659f368e150d20f4f1b to your computer and use it in GitHub Desktop.
Save lmduc/7659f368e150d20f4f1b to your computer and use it in GitHub Desktop.
brew install tmux
set -g default-terminal "screen-256color"
# Scroll History
set -g history-limit 30000
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