-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.tmux.conf
48 lines (37 loc) · 1.07 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
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g status-keys vi
setw -g mode-keys vi
setw -g monitor-activity on
set -g visual-activity on
bind-key V split-window -h
bind-key H split-window -v
#bind-key J resize-pane -D 5
#bind-key K resize-pane -U 5
#bind-key H resize-pane -L 5
#bind-key L resize-pane -R 5
bind-key -r M-j resize-pane -D
bind-key -r M-k resize-pane -U
bind-key -r M-h resize-pane -L
bind-key -r M-l resize-pane -R
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Enter vi (copy) mode quicker
bind v copy-mode
# Select pane without prefix key, using ctrl+alt+h/j/k/l (Doesn't work in Mutt)
bind -n C-M-h select-pane -L
bind -n C-M-j select-pane -D
bind -n C-M-k select-pane -U
bind -n C-M-l select-pane -R
# No delay for escape key press
set -sg escape-time 0
# Reload config
bind r source-file ~/.tmux.conf
# Lookin' gud
#set -g status-bg 'colour12'
set -g status-bg 'colour4'
set-option -g status-right "#(whoami)@#H : %a, %b %d %Y %H:%M "