]> git.r.bdr.sh - rbdr/dotfiles/blame - tmux.conf
Update deps
[rbdr/dotfiles] / tmux.conf
CommitLineData
04dc6d82 1# Increase the scrollback
b100af91
BB
2set -g history-limit 5000
3
04dc6d82 4# Screen-like prefix.
b100af91
BB
5set -g prefix C-a
6bind-key C-a last-window
7
04dc6d82 8# Better bindings for window split
b100af91
BB
9unbind % # Remove default binding since we’re replacing
10bind | split-window -h
11bind - split-window -v
12
04dc6d82 13# Customize the status bars.
01e20652 14set -g status-bg cyan
a9d35322 15set -g status-fg colour232
01e20652 16set -g status-left-length 24
a9d35322 17set -g status-left '#[fg=colour232]#[bg=green]#S '
04dc6d82 18set-window-option -g window-status-current-style bg=magenta,fg=color232
a9d35322 19set-window-option -g window-status-style fg=colour232
0fca37c8 20set -g status-right ' #[fg=colour232]#[bg=green] #(bash ~/.dotfiles/tmux-segments/short-uptime)'
01e20652 21set -g status-right-length 70
ee6d2b11 22
d5c1c217 23# Better powerline highlighting.
63ec7ec7 24set-window-option -g window-status-activity-style bold,underscore
d5c1c217 25
66eb9e76 26# Set Activity monitoring.
b100af91
BB
27setw -g monitor-activity on
28set -g visual-activity on
29
30# Vi keys in copy mode.
31setw -g mode-keys vi
5813c634
BB
32bind -r k run-shell 'tmux select-pane -U'
33bind -r j run-shell 'tmux select-pane -D'
34bind -r h run-shell 'tmux select-pane -L'
35bind -r l run-shell 'tmux select-pane -R'
b100af91 36
66eb9e76
RBR
37# Mouse Mode
38set -g mouse on
39
b100af91 40# Set color mode.
04dc6d82
RBR
41set -g default-terminal "xterm-256color"
42set-option -ga terminal-overrides ",xterm-256color:Tc"