-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
55 lines (47 loc) · 1.38 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
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -g history-limit 100000
set -g default-terminal 'tmux-256color'
set -g editor vi
set -g exit-unattached on
set -g renumber-windows on
set -g display-time 4000
set -g mouse off
set -g bell-action none
set -g monitor-bell off
set -g visual-bell off
set -g visual-activity off
setw -g monitor-activity on
set -g window-status-activity-style fg=black,bg=yellow
set -g focus-events on
set -g status-justify left
set -g status-keys vi
set -g status-interval 5
set -g status-position bottom
set -g status-style fg=green,bg=gray40
set -g status-left ''
set -g status-right ''
set -g status-right-length 50
set -g status-left-length 20
set -g message-style fg=black,fg=yellow
set -g message-command-style fg=green,bg=black
setw -g window-status-current-style reverse
setw -g window-status-current-format " #I:#W "
setw -g window-status-format " #I:#W "
setw -g mode-keys vi
set -s copy-command 'clip.exe'
bind -T copy-mode-vi v send-keys -X begin-selection
bind "*" run-shell -b 'PIDO=$(tmux display-message -p "#{pane_pid}") ps -ao "pid,ppid" |rg $PIDO | cut -d" " -f2 | xargs -i kill -9 {}'
bind -T copy-mode-vi y send-keys -X copy-pipe
bind -r k select-pane -U
bind -r j select-pane -D
bind -r h select-pane -L
bind -r l select-pane -R
bind -r L select-window -l
unbind Left
unbind Right
unbind Up
unbind Down
set -g status-bg black
set -g status-fg white