]>
Commit | Line | Data |
---|---|---|
b100af91 | 1 | #Integrate Mouse Scrolling |
a72dc03e | 2 | # setw -g mouse on |
b100af91 BB |
3 | |
4 | #Increase the scrollback | |
5 | set -g history-limit 5000 | |
6 | ||
7 | #Screen-like prefix. | |
8 | set -g prefix C-a | |
9 | bind-key C-a last-window | |
10 | ||
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 | |
15 | ||
16 | #Customize the status bars. | |
ee6d2b11 BB |
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 | |
24 | ||
2d3861e9 | 25 | # Powerline |
994d63de | 26 | run-shell "powerline-daemon -q" |
a72dc03e | 27 | source /Users/benbeltran/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf |
b100af91 | 28 | |
d5c1c217 BB |
29 | # Better powerline highlighting. |
30 | set-window-option -g window-status-activity-attr bold,blink,underscore | |
31 | ||
b100af91 BB |
32 | #Set Activity monitoring. |
33 | setw -g monitor-activity on | |
34 | set -g visual-activity on | |
35 | ||
36 | # Vi keys in copy mode. | |
37 | setw -g mode-keys vi | |
5813c634 BB |
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' | |
b100af91 BB |
42 | |
43 | # Set color mode. | |
a72dc03e BB |
44 | set -g default-terminal "xterm-256color" |
45 | set-option -ga terminal-overrides ",xterm-256color:Tc" |