-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
54 lines (48 loc) · 1.67 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
# reload configuration
bind-key r source-file ~/.tmux.conf \; display "Config reloaded from .tmux.conf"
# Auto rename of windows
set -g automatic-rename on
# MOUSE RELATED #######
bind-key m \
set -g mode-mouse on \;\
set -g mouse-select-window on\;\
set -g mouse-resize-pane on\;\
display 'MOUSE ON'
bind-key M \
set -g mode-mouse off \;\
set -g mouse-select-window off\;\
set -g mouse-resize-pane off\;\
display 'MOUSE OFF'
#######################
# Synchronize ON/OF
bind-key @ set-window-option synchronize-panes
# border colours
set -g pane-border-style fg=green
set -g pane-active-border-style fg=magenta
set -g pane-active-border-style bg=blue
bind-key c new-window -c '#{pane_current_path}' # Create new window
set -g set-titles on
set -g set-titles-string '#T'
set-window-option -g window-status-current-bg red
bind-key x kill-pane
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-bg colour18
set -g status-fg colour137
set -g status-attr dim
set -g status-left ''
set -g status-right '#[fg=colour233,bg=colour19,bold] %d/%m #[fg=colour233,bg=colour8,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-fg colour1
setw -g window-status-current-bg colour19
setw -g window-status-current-attr bold
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g window-status-fg colour9
setw -g window-status-bg colour18
setw -g window-status-attr none
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell-attr bold
setw -g window-status-bell-fg colour255
setw -g window-status-bell-bg colour1