1 #Integrate Mouse Scrolling
2 # setw -g mode-mouse on
3 # set-option -g mouse-select-pane on
5 #Increase the scrollback
6 set -g history-limit 5000
10 bind-key C-a last-window
12 #Better bindings for window split
13 unbind % # Remove default binding since we’re replacing
14 bind | split-window -h
15 bind - split-window -v
17 #Customize the status bars.
18 # set -g status-bg cyan
19 # set -g status-fg white
20 # set -g status-left-length 24
21 # set -g status-left '#[fg=black]#[bg=white]#H-#S'
22 # set-window-option -g window-status-current-bg red
23 # set -g status-right '#[fg=black]#[bg=white]#(uptime)'
24 # set -g status-right-length 70
27 source ~/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf
29 # Better powerline highlighting.
30 set-window-option -g window-status-activity-attr bold,blink,underscore
32 #Set Activity monitoring.
33 setw -g monitor-activity on
34 set -g visual-activity on
36 # Vi keys in copy mode.
38 bind -r k run-shell 'tmux select-pane -U'
39 bind -r j run-shell 'tmux select-pane -D'
40 bind -r h run-shell 'tmux select-pane -L'
41 bind -r l run-shell 'tmux select-pane -R'
44 set -g default-terminal "screen-256color"