]> git.r.bdr.sh - rbdr/dotfiles/blame - tmux.conf
Make kitty tabs pilly
[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.
fe34473f 14set-option -g status-style bg=default
a9d35322 15set -g status-fg colour232
01e20652 16set -g status-left-length 24
fe34473f
RBR
17set -g status-left '#[fg=green]#[fg=colour232, bg=green]#S#[fg=green, bg=default] #[default]'
18set -g pane-border-format '#[bold]#[reverse]#{pane_current_command}#[default]'
19setw -g window-status-current-format '#[fg=magenta]#[fg=colour232, bg=magenta]#{window_index}:#{window_name}#[fg=magenta, bg=default]#[default]'
20setw -g window-status-format '#[fg=black]#[fg=colour232, bg=black]#{window_index}:#{window_name}#[fg=black, bg=default]#[default]'
21# set-window-option -g window-status-current-style bg=magenta,fg=color232
22# set-window-option -g window-status-style fg=colour232
23set -g status-right '#[fg=green]#[fg=colour232, bg=green]#(bash ~/.dotfiles/tmux-segments/short-uptime)#[fg=green, bg=default] '
01e20652 24set -g status-right-length 70
ee6d2b11 25
d5c1c217 26# Better powerline highlighting.
63ec7ec7 27set-window-option -g window-status-activity-style bold,underscore
d5c1c217 28
66eb9e76 29# Set Activity monitoring.
b100af91
BB
30setw -g monitor-activity on
31set -g visual-activity on
32
33# Vi keys in copy mode.
34setw -g mode-keys vi
5813c634
BB
35bind -r k run-shell 'tmux select-pane -U'
36bind -r j run-shell 'tmux select-pane -D'
37bind -r h run-shell 'tmux select-pane -L'
38bind -r l run-shell 'tmux select-pane -R'
b100af91 39
66eb9e76
RBR
40# Mouse Mode
41set -g mouse on
42
b100af91 43# Set color mode.
04dc6d82
RBR
44set -g default-terminal "xterm-256color"
45set-option -ga terminal-overrides ",xterm-256color:Tc"
fe34473f
RBR
46
47# Pane Style
48set -g pane-border-status top
49set -g pane-border-format '#[bold]#[reverse]#{pane_current_command}#[default]'
50
51# Terminal Title
52set -g set-titles on
53set -g set-titles-string '󰝘 #{session_name}'