-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.tmux.conf
More file actions
62 lines (47 loc) · 1.7 KB
/
.tmux.conf
File metadata and controls
62 lines (47 loc) · 1.7 KB
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
set -s default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
unbind C-b
set-option -g prefix C-M-b
bind-key C-M-b send-prefix
bind-key -n C-k clear-history
# pane selection
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# copy to macOS
#unbind -T copy-mode-vi Enter
#bind-key -T copy-mode-vi Enter send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key -T copy-mode-vi Enter send -X copy-pipe-and-cancel "pbcopy"
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
set -g history-limit 999999999
set -g monitor-activity on
set -g visual-activity on
set -g window-status-activity-style bold,reverse,underscore
set -g base-index 1
set -g pane-base-index 1
set -sg escape-time 0
set -sg repeat-time 600
set -g status on
set -g status-interval 30
set -g status-justify centre
set -g status-bg green
set -g status-fg black
set -g window-status-current-style bg=white,fg=black
set -g pane-border-style fg=colour240,bg=black
set -g pane-active-border-style fg=green,bg=black
setw -g window-style fg=white,bg=colour234
setw -g window-active-style fg=white,bg=black
set -g status-left-style default
set -g status-left-length 30
set -g status-left ' #S #I/#P '
set -g status-right-style default
set -g status-right "(🎤#(osascript -e 'input volume of (get volume settings)')) (#(pmset -g batt | grep -F \"Now drawing from 'AC Power'\" >/dev/null && echo '⚡' || echo '🔋'):#(pmset -g batt | grep -o '[0-9]\\{1,3\\}%%')) %Y-%m-%d %R "
set -g renumber-windows on
# reload config
unbind r
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config!'