-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
31 lines (26 loc) · 877 Bytes
/
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
set-window-option -g mode-keys vi
set -g default-terminal "screen-256color"
set -g status-keys vi
setw -g mouse on
setw -g monitor-activity on
set-option -s escape-time 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
# Use alt-vim keys without prefix key to switch panes
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
# Use alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L
bind -n M-Down select-pane -D
bind -n M-Up select-pane -U
bind -n M-Right select-pane -R
# Theme
set -g status-bg black
set -g status-fg white
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green](#S) #(whoami)'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%H:%M#[default]'