-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
30 lines (25 loc) · 1022 Bytes
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# default shell
set -g default-shell "/bin/bash"
set -g default-command "/bin/bash"
set -g default-terminal "screen-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
# prefix ctrl+b
set -g prefix C-b
# status bar customization
set -g status-fg colour235
set -g status-bg black
set -g status-left-length 30
set -g status-left "#{session_name}"
set -g status-right "#{tmux list-windows | awk -F: 'BEGIN {ORS=\" \"} {print $2}'}"
set -g status-justify centre
set -g status-position bottom
set -g set-titles on
set -g set-titles-string "#S"
set -g status-style fg=white,bg=black
set -g pane-border-style fg=white
set -g pane-active-border-style fg=yellow
# set window status background color to red/green/yellow/blue
set -g window-status-format "#[fg=white,bg=colour#(echo $(($(tmux display -p '#{window_index}') % 4 + 1)))]#I:#W"
set -g window-status-current-format "#[fg=white bold,bg=colour#(echo $(($(tmux display -p '#{window_index}') % 4 + 1))), bold]#I:#W"
set -g mouse on
setw -g allow-rename off