-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
executable file
·95 lines (81 loc) · 2.49 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
set -g base-index 1
setw -g aggressive-resize on
# Mouse support - set to on if you want to use the mouse
setw -g mouse on
#Use Windows as tabs
bind -n S-down new-window
bind -n S-left prev
bind -n S-right next
bind -n S-up confirm kill-window
bind -n C-left select-pane -L
bind -n C-right select-pane -R
bind -n C-up select-pane -U
bind -n C-down select-pane -D
bind-key -n C-j detach
# Set the default terminal mode to 256color mode
set -g default-terminal "tmux-256color"
set -sg escape-time 0
set -g default-shell /bin/zsh
set -g default-command /bin/zsh
set -g repeat-time 100
setw -g clock-mode-colour red
setw -g clock-mode-style 12
setw -g alternate-screen on
#Terminal emulator window titles
set -g set-titles on
set -g set-titles-string "#W"
unbind C-b
set -g prefix C-space
bind C-space send-prefix
set -g status-keys vi
setw -g mode-keys vi
set -g pane-border-fg black
set -g pane-active-border-fg "#373b41"
set -g display-panes-colour white
set -g display-panes-active-colour red
set -g display-panes-time 1000
setw -g automatic-rename on
setw -g monitor-activity on
#setw -g utf8 on
# -----------------------
# # Status Bar
# -----------------------
set -g message-attr bold
set -g message-fg green
set -g message-bg default
set -g status-justify centre
set -g status-bg default
set -g status-fg white
set -g status-interval 5
#set -g status-utf8 on
setw -g window-status-current-fg white
setw -g window-status-current-bg default
setw -g window-status-current-attr none
#setw -g window-status-format '#[fg=white]#I-#W#F'
setw -g window-status-format '#[fg=#4d4d4d]●'
setw -g window-status-format '#[fg=#4d4d4d]▁'
#setw -g window-status-current-format '#[fg=blue] #I-#W#F ' ⁔⁔
setw -g window-status-current-format '#[fg=#9683EC]▁'
#setw -g window-status-current-format '#[fg=blue]●'
set -gw window-status-bell-style fg=red,blink,bg=default,bold
set -gw window-status-activity-style fg=green,bg=default,bold
set -gw window-status-current-style fg=white,bg=default,bold
#set -g status-left '#T'
set -g status-left-length 40
set -g status-left-fg black
set -g status-left ' '
#set -g status-right '#(cat /proc/loadavg | cut -d\\ -f-3) #[fg=black,bold]| #[fg=colour255]%H:%M '
set -g status-right ''
# -----------------------
# # Workspace
# -----------------------
#new -s main -n workspace
#attach -t main
#splitw -h -p 50
#selectp -t 1
#splitw -v -p 50
#selectp -t 0
new-session -n zemnl -s zemnl@zero
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-open'
run '~/.tmux/plugins/tpm/tpm'