-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
51 lines (42 loc) · 1.08 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
# general config
set -g default-command $SHELL
set -g default-terminal "tmux-256color"
set -g history-limit 1000
set -g repeat-time 1000
set -sg escape-time 0
# pane color
set -g pane-active-border-style bg=black,fg="#999999"
set -g pane-border-style bg=black,fg="#222222"
# pane movement
unbind ^A
bind ^A select-pane -t :.+
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# pane resizing
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# prefix!
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# status bar
set -g status-bg "#666666"
set -g status-fg "#aaaaaa"
set -g status-left ""
# vim copy
bind P paste-buffer
setw -g mode-keys vi
bind-key -Tcopy-mode-vi "v" send -X begin-selection
bind-key -Tcopy-mode-vi "y" send -X copy-selection
# window color
set-window-option -g window-status-current-style bg="#999999",fg="#222222"
# window movement
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
# zsh bindings
bind-key -n C-n send-keys Down
bind-key -n C-p send-keys Up