-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
57 lines (44 loc) · 1.42 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
set -g default-terminal "screen-256color"
# List of plugins for tmux
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-online-status'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
# Set status bar format
set -g status-right "#{prefix_highlight} Online: #{online_status} "
set -g status-left " #[fg=cyan,bold]#S "
# Customize online plugin
set -g @online_icon '\uf00c'
set -g @offline_icon '\uf00d'
# Customize prefix plugin
set -g @prefix_highlight_bg 'red'
# Unbind prefix key to Ctrl + A
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Enable mouse in tmux
set -g mouse on
# Set pane border color
set -g pane-border-fg "#93a1a1"
set -g pane-active-border-fg "#dc322f"
# Enable Window titles
set -g set-titles on
# Windo title string
set -g set-titles-string "tmux:#I #W"
# Status bar config
set -g status-interval 1
# Customize status bar visual
set -g status-fg white
set -g status-bg default
set -g status-attr bright
# Default window colors and format
setw -g window-status-fg white
setw -g window-status-bg default
set -g window-status-format " #I #W"
setw -g window-status-current-fg red
setw -g window-status-current-bg default
setw -g window-status-current-format " #[bold]#I #W"
run '~/.tmux/plugins/tpm/tpm'