-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
43 lines (34 loc) · 1.01 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
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind | split-window -h
bind _ split-window -v
unbind '"'
unbind %
# switch panes using Alt-arrow without prefix
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-k select-pane -U
bind -n M-j select-pane -D
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
# clock mode
setw -g clock-mode-colour colour10
# pane borders
set -g pane-border-style 'fg=colour0'
set -g pane-active-border-style 'fg=colour4'
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'fg=colour0'
set -g status-left ''
set -g status-right '%Y-%m-%d %H:%M '
set -g status-right-length 50
set -g status-left-length 10
setw -g window-status-current-style 'fg=colour15 bg=colour0 bold'
setw -g window-status-current-format ' #P #W '
setw -g window-status-bell-style 'fg=colour0 bg=colour4 bold'
# messages
set -g message-style 'fg=colour0 bg=colour4 bold'