-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
38 lines (28 loc) · 994 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
32
33
34
35
36
37
38
# set prefix binding
set-option -g prefix ^b
bind-key a send-prefix
bind-key k kill-pane
# Reload config
bind-key r source-file ~/.tmux.conf
set-option -g default-terminal "screen-256color"
set-option -g history-limit 5000
# set bindings for split-window
unbind %
bind-key | split-window -h
bind-key - split-window -v
# enable mouse support
setw -g mode-mouse on
set-option -g mouse-select-pane on
# highlight active window
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-fg green
# Theme related
set-option -g status-bg black
set-option -g status-fg white
set-option -g status-interval 60
set-option -g status-left-length 30
set-option -g status-left-length 40
set-option -g status-justify left
set-option -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
set-option -g status-left '[Battery: #(/usr/local/bin/power.sh)] #[default] Windows:'
set-option -g status-right '#[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'