-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
62 lines (47 loc) · 1.46 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
57
58
# Send prefix
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
# Use Alt-arrow keys to switch panes
bind -n M-a select-pane -L
bind -n M-d select-pane -R
bind -n M-w select-pane -U
bind -n M-s select-pane -D
# Shift arrow to switch windows
bind -n M-j previous-window
bind -n M-k next-window
# Mouse mode
setw -g mouse on
# Modes
setw -g clock-mode-colour colour5
setw -g mode-style 'fg=colour1 bg=colour18 bold'
# Set easier window split keys
bind-key s split-window -h
bind-key z split-window -v
# Easy config reload
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
# No delay for escape key press
set -sg escape-time 0
# Panes
set -g pane-border-style 'fg=colour20 bg=colour0'
set -g pane-active-border-style 'bg=colour0 fg=colour9'
# Statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'bg=colour18 fg=colour137 dim'
set -g status-left '#[fg=green]'
set -g status-right '#[fg=red,bg=cyan] %d/%m #[fg=colour233,bg=colour8] %H:%M:%S'
set -g status-right-length 50
set -g status-left-length 20
# Messages
set -g message-style 'fg=colour232 bg=colour16 bold'
# Theme
set -g status-bg white
set -g status-fg black
set -g window-status-current-style bg=white
set -g window-status-current-style fg=black
set -g window-status-current-style bold
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green](#S) #(whoami)'
set -g default-terminal "screen-256color"