-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
49 lines (37 loc) · 1.04 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
# remap C-b to C-a
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes
bind | split-window -h
bind - split-window -v
bind s split-window -h -p 20
bind v split-window -v -p 20
# switch panes
bind -n M-w select-pane -U
bind -n M-a select-pane -L
bind -n M-s select-pane -D
bind -n M-d select-pane -R
# reload conf
bind r source-file ~/.tmux.conf
setw -g mode-keys vi
# change color
#set -g pane-border-style 'fg=#660033'
#set -g pane-active-border-style 'fg=#990033 bg=default'
set -g pane-border-style 'fg=#990000'
set -g pane-active-border-style 'fg=#ff0000'
# status bar
set -g status-position bottom
set -g status-justify left
#set -g status-style 'fg=#660033 bg=#202020'
set -g status-style 'fg=#990000 bg=#330000'
# native xterm scrolling
set -g mouse on
set -g history-file ~/.tmux_history
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-yank'
run -b '~/.tmux/plugins/tpm/tpm'
run-shell ~/tmux-resurrect/resurrect.tmux
set -s escape-time 0