-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
66 lines (52 loc) · 1.59 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
unbind C-b
set -g prefix C-s
set -g base-index 1
set -g mouse on
set -sg escape-time 0
set -g status-bg "#000000"
set -g status-fg "#ffffff"
set -g window-status-current-style bg=black,fg=white,bright
set -g pane-active-border-style fg=white
set -g status-left ""
set -g status-right ""
set-option -g history-limit 10000
set-option -g renumber-windows on
set-option -g set-clipboard off
bind -n S-Left previous-window
bind -n S-Right next-window
bind -n M-t new-window
bind -n M-b split-window -v
bind -n M-v split-window -h
bind -n M-j resize-pane -D 5
bind -n M-g resize-pane -L 5
bind -n M-h resize-pane -R 5
bind -n M-k resize-pane -U 5
bind -n M-o swap-window -t -1 -d
bind -n M-p swap-window -t +1 -d
bind -n M-Down select-pane -D
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-1 select-window -t 1
bind -n M-2 select-window -t 2
bind -n M-3 select-window -t 3
bind -n M-4 select-window -t 4
bind -n M-5 select-window -t 5
bind -n M-6 select-window -t 6
bind -n M-7 select-window -t 7
bind -n M-8 select-window -t 8
bind -n M-9 select-window -t 9
bind-key y copy-mode
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi '0' send -X start-of-line
bind-key -T copy-mode-vi '$' send -X end-of-line
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "xclip"
bind-key p run "reattach-to-user-namespace xsel | tmux load-buffer - && tmux paste-buffer"
bind -T root F12 \
set prefix None \;\
set key-table off \;\
refresh-client -S \;\
bind -T off F12 \
set -u prefix \;\
set -u key-table \;\
refresh-client -S