]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - tmux.conf
Adds the custom status for tmux
[rbdr/dotfiles] / tmux.conf
... / ...
CommitLineData
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.
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
26# powerline tmux
27set-option -g status on
28set-option -g status-bg colour12
29set-option -g status-fg colour7
30set-window-option -g window-status-current-bg colour9
31set-option -g status-interval 2
32set-option -g status-utf8 on
33set-option -g status-justify "centre"
34set-option -g status-left-length 60
35set-option -g status-right-length 90
36set-option -g status-left "#(~/.dotfiles/tmux-powerline/status-left.sh)"
37set-option -g status-right "#(~/.dotfiles/tmux-powerline/status-right.sh)"
38
39#Set Activity monitoring.
40setw -g monitor-activity on
41set -g visual-activity on
42
43# Vi keys in copy mode.
44setw -g mode-keys vi
45
46# Set color mode.
47set -g default-terminal "screen-256color"