/
.tmux.conf
81 lines (63 loc) · 2.1 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
72
73
74
75
76
77
78
79
80
81
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
set -g default-command /bin/bash
set -g default-shell /bin/bash
set -g base-index 1
set -g default-terminal "tmux-256color"
set -as terminal-overrides ',xterm*:sitm=\E[3m'
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
bind r source-file ~/.tmux.conf
bind -n C-Left select-pane -L
bind -n C-Right select-pane -R
bind -n C-Up select-pane -U
bind -n C-Down select-pane -D
bind -n C-S-Left resize-pane -L
bind -n C-S-Right resize-pane -R
bind -n C-S-Up resize-pane -U
bind -n C-S-Down resize-pane -D
bind -n M-0 select-window -t 0
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 -n M-tab select-window -l
bind h select-pane -L
bind l select-pane -R
bind k select-pane -U
bind j select-pane -D
bind -n M-c new-window
bind k kill-session
bind K kill-server
set-option -g allow-rename off
set -s escape-time 0
set -g status-interval 0
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-pipe "xclip -sel clip -i"
set -g mouse on
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
set -g status-position bottom
set -g status-justify left
set -g status-style 'fg=colour11 bg=colour235'
set -g status-left ''
set -g status-right ' #S:#(cd #{pane_current_path}; git rev-parse --abbrev-ref HEAD) '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-style 'fg=colour14 bg=colour235 bold'
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g window-status-style 'fg=colour234 bg=colour239'
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour234]#W#[fg=colour234]#F '
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
set -g message-style 'fg=colour11 bg=colour239 bold'