-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
87 lines (67 loc) · 3.11 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
# Set prefix to Ctrl-Space
unbind C-b
set -g prefix C-Space
bind Space send-prefix
set-option -g default-shell /bin/zsh
set-option -sg escape-time 10
setw -g xterm-keys on
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
#set-option -sa terminal-overrides ',xterm-256color:RGB'
setw -g mode-keys vi
set -g history-limit 100000
#bind-key | split-window -h
#bind-key - split-window
#unbind-key j
#bind-key j select-pane -D
#unbind-key k
#bind-key k select-pane -U
#unbind-key h
#bind-key h select-pane -L
#unbind-key l
#bind-key l select-pane -R
#bind-key -r C-k resize-pane -U
#bind-key -r C-j resize-pane -D
#bind-key -r C-h resize-pane -L
#bind-key -r C-l resize-pane -R
set -g focus-events on
set-option -g status-position top
set -g status-left-length 150
set -g status-right-length 150
set -g status-fg white
set -g status-bg colour234
set -g window-status-activity-style bold
set -g pane-border-style fg=colour245
set -g pane-active-border-style fg=colour39
set -g message-style fg=colour16,bg=colour221,bold
color_status_text="colour235"
bind -T root F12 \
set prefix None \;\
set key-table off \;\
set window-status-format "#[fg=colour232,bg=colour88] #I #W " \;\
set window-status-current-format "#[fg=colour161,bg=colour232]#[fg=colour232,bg=colour161,noreverse,bold] #I ⮁ #W #[fg=colour232,bg=colour161,nobold]" \;\
set status-left '#[fg=colour232,bg=colour161,bold] ❐ #S #[fg=colour88,bg=colour161,nobold]#[fg=colour232,bg=colour88,bold] #(whoami) #[fg=colour234,bg=colour88,nobold]' \;\
refresh-client -S \;\
bind -T off F12 \
set -u prefix \;\
set -u key-table \;\
set -u status-style \;\
set -u window-status-format \;\
set -u window-status-current-format \;\
set -u status-left \;\
refresh-client -S
wg_is_keys_off="#[fg=$color_light,bg=$color_window_off_indicator]#([ $(tmux show-option -qv key-table) = 'off' ] && echo 'OFF')#[default]"
set -g status-left '#[fg=colour235,bg=colour252,bold] ❐ #S #[fg=colour238,bg=colour252,nobold]#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour234,bg=colour238,nobold]'
set -g window-status-format "#[fg=white,bg=colour234] #I #W "
set -g window-status-current-format "#[fg=colour39,bg=colour234]#[fg=colour25,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour234,bg=colour39,nobold]"
#set -g status-right "#[fg=colour39,bg=colour234]#[fg=colour25,bg=colour39,noreverse,bold] %d/%m %H:%M #[fg=colour234,bg=colour39,nobold]"
set -g status-right "$wg_is_keys_off #(/bin/bash $HOME/dotfiles/kube-tmux/kube.tmux 250 colour25 colour39)"
#set -g status-right "#[fg=colour39,bg=colour234]#[fg=colour25,bg=colour39,noreverse,bold] #[fg=colour234,bg=colour39,nobold]"
# pane status
set -g pane-border-status top
set -g pane-border-format "#{pane_current_path} #{pane_current_command}"
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-pain-control'
run '~/.tmux/plugins/tpm/tpm'