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