/
tmux.conf
52 lines (43 loc) · 1.06 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
set -g default-terminal "screen-256color"
set -g history-limit 4096
set-window-option -g mode-keys vi
# Use ctrl-a instead of ctrl-b
set -g prefix C-a
unbind C-b
# Switch between the current window and last window that was active
bind C-a last-window
# Horizontal and vertical splits
unbind |
bind | split-window -h
unbind _
bind _ split-window
# Cycle through panes
unbind ^A
bind ^A select-pane -t :.+
bind a send-keys ^A
# Select the next pane in the direction of movement
unbind h
bind h select-pane -L
unbind j
bind j select-pane -D
unbind k
bind k select-pane -U
unbind l
bind l select-pane -R
# Resize panes
unbind Right
bind Right resize-pane -R 8
unbind Left
bind Left resize-pane -L 8
unbind Up
bind Up resize-pane -U 4
unbind Down
bind Down resize-pane -D 4
set -g status-bg black
set -g status-fg white
set-window-option -g window-status-current-bg blue
set-window-option -g window-status-current-fg white
set -g status-right '"#T" #(uptime|perl -p -e "s/.*load averages?: //")'
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on