-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
57 lines (46 loc) · 1.75 KB
/
Copy pathtmux.conf
File metadata and controls
57 lines (46 loc) · 1.75 KB
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
# -------------------------------------------------------------------
# Global settings
# -------------------------------------------------------------------
# Index starts from 1
set -g base-index 1
set -g pane-base-index 1
# Renumber windows when a window is closed
set -g renumber-windows on
# Repeat time limit (ms)
set -g repeat-time 300
# Mouse
set -g mouse on
# Use vim-style key mode
setw -g mode-keys vi
# -------------------------------------------------------------------
# Key-bindings
# -------------------------------------------------------------------
# Rebind <C-b> to <C-a>
unbind-key C-b
set -g prefix C-a
# Pane-movement
bind-key h select-pane -L
bind-key l select-pane -R
bind-key j select-pane -D
bind-key k select-pane -U
# Pane-synchronizing
bind-key * setw synchronize-pane
# -------------------------------------------------------------------
# Decoration
# -------------------------------------------------------------------
# 256-color terminal
set -g default-terminal "screen-256color"
# powerline decoration
set -g status-justify "left"
set -g status-left "#($HOME/dotrc/tmux-powerline/powerline.sh left)"
set -g status-left-length 100
set -g status-bg colour237
set -g status-right "#($HOME/dotrc/tmux-powerline/powerline.sh right)"
set -g status-right-length 100
set -g status-interval 60
# pane decoration
set -g pane-active-border-style fg=colour240
set -g pane-border-style fg=colour238
# window status decoration
setw -g window-status-format '#[bg-colour238]#[fg=colour107] #I #[bg=colour239]#[fg=colour110] #[bg=colour240]#W#[bg=colour239]#[fg=colour195]#F#[bg=colour238] '
setw -g window-status-current-format '#[bg=colour236]#[fg=colour215] #I #[bg=colour235]#[fg=colour167] #[bg=colour234]#W#[bg=colour235] #[fg=colour195]#F#[bg=colour236] '