-
Notifications
You must be signed in to change notification settings - Fork 8
/
.tmux.conf
56 lines (43 loc) · 1.14 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
# remove tmux delay when sending commands
set -sg escape-time 1
# index of 0 for windows and panes
set -g base-index 0
setw -g pane-base-index 0
# easy reloading of config
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# mmemonic keys for window splitting
bind | split-window -h
bind - split-window -v
# vim movement keys for switching panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# vim movement keys for switching windows
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
# vim movement keys for resizing panes
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
# better maximize key
bind t resize-pane -Z
# vi mode
setw -g mode-keys vi
# enable mouse scrolling
setw -g mouse on
# scrollback
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# status bar
set -g status-left ""
set -g status-right ""
set -g status-interval 1
set -g status-left-length 40
set -g status-right-length 80
# window activity
setw -g monitor-activity off
set -g visual-activity off
# personal shortcuts
bind C-t last-window
bind s setw synchronize-panes