]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - tmux.conf
Update deps, fix for linux
[rbdr/dotfiles] / tmux.conf
... / ...
CommitLineData
1#Increase the scrollback
2set -g history-limit 5000
3
4#Screen-like prefix.
5set -g prefix C-a
6bind-key C-a last-window
7
8#Better bindings for window split
9unbind % # Remove default binding since we’re replacing
10bind | split-window -h
11bind - split-window -v
12
13#Customize the status bars.
14set -g status-bg cyan
15set -g status-fg colour232
16set -g status-left-length 24
17set -g status-left '#[fg=colour232]#[bg=green]#S '
18set-window-option -g window-status-current-style bg=magenta,fg=color231
19set-window-option -g window-status-style fg=colour232
20set -g status-right ' #[fg=colour232]#[bg=green] #(bash ~/.dotfiles/tmux-segments/short-uptime)'
21set -g status-right-length 70
22
23# Better powerline highlighting.
24set-window-option -g window-status-activity-style bold,underscore
25
26#Set Activity monitoring.
27setw -g monitor-activity on
28set -g visual-activity on
29
30# Vi keys in copy mode.
31setw -g mode-keys vi
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'
36
37# Set color mode.
38set -g default-terminal "xterm-256color-italic"
39set-option -ga terminal-overrides ",xterm-256color-italic:Tc"