-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
67 lines (57 loc) · 1.93 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
# mouse
set -g mouse on
# don't rename windows automatically
set-option -g allow-rename off
# VISUALS
set -g base-index 1
setw -g pane-base-index 1
set-option -g renumber-windows on
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 extended-keys-format csi-u
set -g extended-keys on
set -g allow-passthrough on
set -g message-style "fg=black bg=red bold"
set -g default-terminal "tmux-256color"
set -ga terminal-features ',*terminalName*:extkeys'
setw -g mode-style 'fg=black bg=red bold'
# status line
set -g status-position bottom
set -g status-justify centre
set -g status-style 'fg=red'
set -g status-left ''
set -g status-left-length 10
set -g status-right-style 'fg=black bg=red bold'
set -g status-right ''
set -g status-right-length 10
# window style
setw -g window-status-current-style 'fg=black bg=red'
setw -g window-status-current-format ' #I #W #F '
setw -g window-status-style 'fg=red bg=black'
setw -g window-status-format ' #I #[fg=white]#W #[fg=red]#F '
setw -g window-status-bell-style 'fg=black bg=red bold'
# unbind-key C-b
# set -g prefix C-y
# bind-key C-y send-prefix
# vi mode
unbind-key -T copy-mode-vi v
setw -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection # Begin selection in copy mode.
bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle # Begin selection in copy mode.
bind-key -T copy-mode-vi 'y' send -X copy-selection # Yank selection in copy mode.
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind v split-window -v -p 30
bind-key o swap-window -t -1\; select-window -t -1
bind-key i swap-window -t +1\; select-window -t +1
bind-key -n C-Up resize-pane -U 8
bind-key -n C-Down resize-pane -D 8
bind-key -n C-Left resize-pane -L 8
bind-key -n C-Right resize-pane -R 8
bind-key -n C-S-Left select-layout even-vertical
bind-key -n C-S-Right select-layout even-horizontal