-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
69 lines (52 loc) · 1.87 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
# set history length
set-option -g history-limit 10000
# enable clipboard
# set-option -g default-command "reattach-to-user-namespace -l $SHELL"
# Set prefix command to Ctrl-b
set -g prefix C-b
## set status bar
set -g status-left-length 60
set -g status-right-length 60
set -g status-left ' #[bold]❐ #S#[default] ⡇'
set -g status-right '#[bold]⡇ #(whoami) ● #(box_name) #[default]%H:%M:%S '
set -g status-interval 1
# Binding to allow sending the prefix combination
bind C-a send-prefix
# Reduce tmux delay for more responsiveness
set -sg escape-time 1
# Window and pane index count starts in 1 rather tan 0
set -g base-index 1
setw -g pane-base-index 1
# Dividers
bind | split-window -h
bind - split-window -v
# Allow mouse
# set -g mouse-utf8 on
# set -g mouse on
# bind -n WheelUpPane if-shell -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -e\"'
setw -g mouse on
bind-key -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
bind-key -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
## tomorrow-night
## set status bar
set -g status-bg "#373b41"
set -g status-fg "#c5c8c6"
## highlight active window
setw -g window-status-current-bg "#282a2e"
setw -g window-status-current-fg "#81a2be"
## highlight activity in status bar
setw -g window-status-activity-fg "#8abeb7"
setw -g window-status-activity-bg "#1d1f21"
## pane border and colors
set -g pane-active-border-bg black
set -g pane-active-border-fg "#222222"
set -g pane-border-bg black
set -g pane-border-fg "#222222"
set -g clock-mode-colour "#81a2be"
set -g clock-mode-style 24
set -g message-bg "#8abeb7"
set -g message-fg "#000000"
set -g message-command-bg "#8abeb7"
set -g message-command-fg "#000000"
set -g mode-bg "#8abeb7"
set -g mode-fg "#000000"