-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
67 lines (55 loc) · 1.81 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
# config {{{
TMUX_COLORTAG_TAG_ONLY=yes
# }}}
# nice fonts {{{
set -g default-terminal 'tmux-256color'
set -as terminal-overrides ',xterm*:Tc:sitm=\E[3m'
# }}}
# keyboard {{{
set -g prefix C-Space
# }}}
# mouse {{{
set -g mouse on
bind -T root MouseDrag1Border resize-pane -M
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
# }}}
# plugins {{{
set -g @plugin 'Determinant/tmux-colortag'
set -g @plugin 'roosta/tmux-pop'
set -g @plugin 'soyuka/tmux-current-pane-hostname'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-urlview'
set -g @plugin 'tmux-plugins/tpm'
# }}}
# windows & panes {{{
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
# }}}
# status & looks {{{
setw -g automatic-rename on
set -g message-style "fg=colour255,bg=colour32"
set -g status-left-length 60
set -g status-right-length 100
set -g status-bg "colour235"
set -g status-left "#[fg=#212121,bg=colour1,bold] #S #[default] "
set -g status-right "\
#{battery_status_fg}#{battery_percentage}#[default] | #(date +%%H:%%M) (#(TZ='UTC' date +%%H:%%M)) | #(date +%%d-%%m-%%y) \
#[fg=#212121,bg=colour1,bold]#{?#{pane_ssh_connected}, #U@#H ,}#[default]"
set -g window-status-format "#[fg=colour241] #I. #W "
set -g window-status-current-format "#[fg=#212121,bg=colour2,bold] #I|#W "
set -g @batt_color_full_charge "#[fg=colour2]"
set -g @batt_color_high_charge "#[fg=colour2]"
set -g @batt_color_medium_charge "#[fg=colour3]"
set -g @batt_color_low_charge "#[fg=colour1]"
set -g @batt_color_charging "#[fg=colour4]"
set -g @tmux-pop-color 'colour234'
# }}}
# ch-ch-ch-changeees {{{
bind r source-file ~/.tmux.conf \; display Reloaded!
# }}}
# plugins (again) {{{
run -b '~/.tmux/plugins/tpm/tpm'
# }}}