-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
71 lines (53 loc) · 1.8 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
# improve colors
set -g default-terminal "screen-256color"
# pane traversal
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# pane resizing
bind-key -r C-h resize-pane -L 2
bind-key -r C-j resize-pane -D 2
bind-key -r C-k resize-pane -U 2
bind-key -r C-l resize-pane -R 2
# make the bell work
set -g bell-action any
# window traversal
bind-key -n S-left previous-window
bind-key -n S-right next-window
# window reordering
bind-key -n C-S-left swap-window -t {previous}
bind-key -n C-S-right swap-window -t {next}
# status-bar color
set -g status-bg '#003153'
set -g status-fg '#69FACE'
# message color
set -g message-bg '#69FACE'
set -g message-fg '#003153'
# border color
set -g pane-border-fg '#003153'
set -g pane-active-border-fg '#69FACE'
# better size constraining
setw -g aggressive-resize on
# activity monitoring (decided this wasn't really of any value)
# setw -g monitor-activity on
# set -g visual-activity on
# automatically set window title
setw -g automatic-rename
# increase scrollback
set -g history-limit 999999
# useful current window status
set-window-option -g window-status-current-bg '#69FACE'
set-window-option -g window-status-current-fg '#003153'
# darken active pane to clarify focus
# set -g window-style bg="#111111"
# set -g window-active-style bg="#000000"
# darken active pane w/ light shell colors
# if-shell 'test "$LIGHT_SHELL"' 'set -g window-style bg="#F4F0E3"'
# if-shell 'test "$LIGHT_SHELL"' 'set -g window-active-style bg="#FDF6E3"'
# reload ~/.tmux.conf
bind-key R source-file ~/.tmux.conf \; display-message "Reloaded tmux configuration (source-file ~/.tmux.conf)"
# send input to all panes
bind-key * set-window-option synchronize-pane
# keep windows ordered sequentially
set -g renumber-windows on