]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - tmux.conf
Update syntastic
[rbdr/dotfiles] / tmux.conf
... / ...
CommitLineData
1#Integrate Mouse Scrolling
2# setw -g mouse on
3
4#Increase the scrollback
5set -g history-limit 5000
6
7#Screen-like prefix.
8set -g prefix C-a
9bind-key C-a last-window
10
11#Better bindings for window split
12unbind % # Remove default binding since we’re replacing
13bind | split-window -h
14bind - split-window -v
15
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
24
25# Powerline
26run-shell "powerline-daemon -q"
27source /Users/benbeltran/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf
28
29# Better powerline highlighting.
30set-window-option -g window-status-activity-attr bold,blink,underscore
31
32#Set Activity monitoring.
33setw -g monitor-activity on
34set -g visual-activity on
35
36# Vi keys in copy mode.
37setw -g mode-keys vi
38bind -r k run-shell 'tmux select-pane -U'
39bind -r j run-shell 'tmux select-pane -D'
40bind -r h run-shell 'tmux select-pane -L'
41bind -r l run-shell 'tmux select-pane -R'
42
43# Set color mode.
44set -g default-terminal "xterm-256color"
45set-option -ga terminal-overrides ",xterm-256color:Tc"