2 set-option -g default-command "reattach-to-user-namespace -l zsh"
4 #Increase the scrollback
5 set -g history-limit 5000
9 bind-key C-a last-window
11 #Better bindings for window split
12 unbind % # Remove default binding since we’re replacing
13 bind | split-window -h
14 bind - split-window -v
16 #Customize the status bars.
17 # set -g status-bg cyan
18 # set -g status-fg white
19 # set -g status-left-length 24
20 # set -g status-left '#[fg=black]#[bg=white]#H-#S'
21 # set-window-option -g window-status-current-bg red
22 # set -g status-right '#[fg=black]#[bg=white]#(uptime)'
23 # set -g status-right-length 70
25 # Better powerline highlighting.
26 set-window-option -g window-status-activity-attr bold,blink,underscore
28 #Set Activity monitoring.
29 setw -g monitor-activity on
30 set -g visual-activity on
32 # Vi keys in copy mode.
34 bind -r k run-shell 'tmux select-pane -U'
35 bind -r j run-shell 'tmux select-pane -D'
36 bind -r h run-shell 'tmux select-pane -L'
37 bind -r l run-shell 'tmux select-pane -R'
40 set -g default-terminal "xterm-256color"
41 set-option -ga terminal-overrides ",xterm-256color:Tc"
44 run-shell "powerline-daemon -q"
45 source /Users/benbeltran/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf