-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
95 lines (65 loc) · 2.29 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 prefix C-a
unbind C-b
bind r source-file ~/.tmux.conf \; display "reload ok"
bind-key k select-pane -U
bind-key j select-pane -D
bind-key h select-pane -L
bind-key l select-pane -R
bind-key n next-window
bind-key p previous-window
bind-key c-a last-window
unbind '"'
bind - splitw -v
unbind %
bind \ splitw -h
bind ^k resizep -U 5
bind ^j resizep -D 5
bind ^h resizep -L 5
bind ^l resizep -R 5
bind-key m select-window -l
bind-key a send-prefix
#bind-key e set-window-option synchronize-panes
bind-key e setw synchronize-panes
# vim contorls
set-window-option -g mode-keys vi
set -g @shell_mode 'vi'
#############################################################################
#set whindow-status/pane
#############################################################################
set-option -g status-bg colour235 #base02
set-option -g status-fg colour136 #yellow
set-option -g status-attr default
set-option -g status-position bottom
#default window title colors
set-window-option -g window-status-fg colour244 #base0
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
#active window title colors
set-window-option -g window-status-current-fg colour166 #orange
set-window-option -g window-status-current-bg default
#pane border
set -g pane-border-bg colour235
set -g pane-border-fg colour238
set -g pane-active-border-bg colour236
set -g pane-active-border-fg colour51
# message text
set-option -g message-bg colour235 #base02
set-option -g message-fg colour166 #orange
# pane number display
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
# clock
set-window-option -g clock-mode-colour green #green
set -g status-interval 1
set -g status-justify centre # center align window list
set -g status-left-length 20
set -g status-right-length 140
set -g status-left '#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r | cut -c 1-6)#[default]'
set -g status-right '#[fg=green,bg=default,bright]#(tmux-mem-cpu-load -i 1) #[fg=white,bg=default]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d'
#set pane-border
#for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i}\n"; done like echo color
##
set -g monitor-activity on
set -g visual-activity on
set-window-option -g utf8 on
set-option -g status-utf8 on