-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtmux.debian
95 lines (68 loc) · 1.73 KB
/
tmux.debian
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# keybindings
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# window splits
bind | split-window -h
bind - split-window -v
# only
bind o kill-pane -a
# repeat timing
set -g repeat-time 200
# pane movement
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
bind < rotate-window -D
bind > rotate-window -U
bind / next-layout
# colors
set -g default-terminal "screen-256color"
set -g status-fg white
set -g status-bg colour235
setw -g window-status-fg blue
setw -g window-status-bg default
setw -g window-status-format '#I:#W'
setw -g window-status-current-fg red
setw -g window-status-current-bg default
setw -g window-status-current-attr bright
setw -g window-status-activity-attr none
set -g pane-border-fg white
set -g pane-border-bg default
set -g pane-active-border-fg yellow
set -g pane-active-border-bg default
set -g message-fg white
set -g message-bg black
set -g message-attr bright
# status lines
set -g status-left-length 60
set -g status-left "#h #[fg=green][#S] #[fg=yellow]#W:#T"
set -g status-utf8 on
# 15% | 28 Nov 18:15
set -g status-right "#[fg=cyan]%d %b %R"
# other settings
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
setw -g monitor-activity on
set -g visual-activity on
set -g status-justify centre
setw -g mode-keys vi
set -g status-interval 10
unbind Down
bind Up resize-pane -Z
unbind Down
bind DOWN resize-pane -Z
# Copy mode
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
bind -t vi-copy Escape cancel