-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
46 lines (42 loc) · 1.43 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
# prefix
set -g prefix C-z
unbind C-b
# key bindings
bind r source-file ~/.tmux.conf \; display "source-file done"
bind-key -Tcopy-mode-vi v send -X begin-selection
# set-option
set -g default-command "~/.tmux/bin/reattach-to-user-namespace -l $SHELL"
set -g default-terminal "screen-256color"
set -g escape-time 0
set -g history-limit 10000
set -g renumber-windows "on"
set -g status "on"
set -g status-interval 1
set -g status-justify "centre"
set -g status-left " H:#H S:#S P:#P"
set -g status-left-length 90
set -g status-position "top"
set -g status-right "#[fg=black, bg=white] #{wifi_ssid} #{wifi_strength} #{battery_status_bg} #{battery_percentage} #{battery_icon} #[fg=black, bg=cyan] %a %h %d %T "
set -g status-right-length 90
set -g status-style "bg=black,fg=white"
# set-window-option
setw -g automatic-rename off
setw -g mode-keys "vi"
setw -g pane-active-border-style "bg=colour74 fg=black"
setw -g pane-border-format " #P:#T "
setw -g pane-border-status "top"
setw -g pane-border-style "bg=default fg=default"
setw -g window-status-current-format " #I:#W "
setw -g window-status-current-style "bg=colour236 fg=red"
setw -g window-status-format " #I:#W "
setw -g window-status-style "fg=cyan"
# tmux plugin manager
set -g @tpm_plugins " \
tmux-plugins/tpm \
tmux-plugins/tmux-battery \
tmux-plugins/tmux-open \
tmux-plugins/tmux-pain-control \
tmux-plugins/tmux-yank \
gmoe/tmux-wifi-macos \
"
run-shell "~/.tmux/plugins/tpm/tpm"