-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
64 lines (58 loc) · 2.27 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
# ctrl h
set-option -g prefix ^h
# 256 colors please
set -g default-terminal screen-256color
# Remove the SSH_AUTH_SOCK from the updated environment since we set it manually
set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock
################################################################################
#
# Navigation
#
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r K resize-pane -U 5
bind-key -r J resize-pane -D 5
bind-key -r H resize-pane -L 5
bind-key -r L resize-pane -R 5
unbind-key '"'
unbind-key '|'
unbind-key "%"
unbind-key M-Up
unbind-key M-Down
unbind-key M-Left
unbind-key M-Right
bind | split-window -h
bind - split-window -v
################################################################################
#
# Theme
#
set -g status-bg 'colour236'
set -g message-command-fg 'colour230'
set -g status-justify 'left'
set -g status-left-length '100'
set -g status 'on'
set -g pane-active-border-fg 'colour159'
set -g message-bg 'colour238'
set -g status-right-length '100'
set -g status-right-attr 'none'
set -g message-fg 'colour230'
set -g message-command-bg 'colour238'
set -g status-attr 'none'
set -g status-utf8 'on'
set -g pane-border-fg 'colour238'
set -g status-left-attr 'none'
setw -g window-status-fg 'colour252'
setw -g window-status-attr 'none'
setw -g window-status-activity-bg 'colour236'
setw -g window-status-activity-attr 'none'
setw -g window-status-activity-fg 'colour159'
setw -g window-status-separator ''
setw -g window-status-bg 'colour236'
set -g status-left '#[fg=colour234,bg=colour159,bold] #S #[fg=colour159,bg=colour236,nobold,nounderscore,noitalics]'
set -g status-right '#[fg=colour238,bg=colour236,nobold,nounderscore,noitalics]#[fg=colour230,bg=colour238] %Y-%m-%d %H:%M #[fg=colour159,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour234,bg=colour159] #h '
setw -g window-status-format '#[fg=colour252,bg=colour236] #I #[fg=colour252,bg=colour236] #W '
setw -g window-status-current-format '#[fg=colour236,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour230,bg=colour238] #I #[fg=colour230,bg=colour238] #W #[fg=colour238,bg=colour236,nobold,nounderscore,noitalics]'