-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
56 lines (44 loc) · 1.33 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
# Remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# Set color mode
set -g default-terminal "screen-256color"
set -g status-style bg=black,fg=white
set -g window-status-style fg=cyan,bg=default
set -g window-status-current-style fg=white,bg=red
set -g window-style 'fg=colour247,bg=colour236'
set -g window-active-style 'fg=colour250,bg=black'
set -g pane-border-style fg=colour238,bg=colour235
set -g pane-active-border-style fg=colour51,bg=colour236
#set-window-option -g window-status-current-bg red
#set -g status-left '#[fg=green]#H'
# Vim-like environment
set -g status-keys vi
setw -g mode-keys vi
set-window-option -g mode-keys vi
# Bind some keys to vim-style
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
bind-key -T copy-mode-vi 'y' send-keys -X copy-selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r H resize-pane -L 15
bind -r J resize-pane -D 15
bind -r K resize-pane -U 15
bind -r L resize-pane -R 15
# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
bind g last-window
set -s escape-time 1
set -g base-index 1
setw -g pane-base-index 1
# Status line
set -g status-justify centre
set-option -g mouse on
set -g history-limit 30000