-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
34 lines (29 loc) · 1.03 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
set -g default-terminal "screen-256color"
# I'm used to using screen
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# needed for pbcopy/vim's * register to work inside of tmux
set-option -g default-command "reattach-to-user-namespace -l zsh"
# colours
set -g status-bg white
set -g status-fg white
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]'
# vi vi vi
setw -g mode-keys vi
set -g status-keys vi
# admittedly stolen right out of gf3's dotfiles
set -g status-fg 8
set -g status-bg white
set -g pane-border-fg colour245
set -g pane-active-border-fg colour39
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
set -g status-left '#I/#P'
set -g status-right '#(date +"%a") // %d %b %R // #(uptime | cut -d "," -f 3- | cut -d ":" -f2) // #h '
set -g window-status-format " [ #I #W ] "
set -g window-status-current-format " #[fg=blue][ #I #W ] "