-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
76 lines (61 loc) · 2.08 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Prefix
unbind "C-b"
set -g prefix "C-t"
bind "t" send-prefix
# For VIM
set -sg escape-time 1
bind "w" choose-window
bind "c" new-window
bind -r "n" next-window
bind -r "p" previous-window
bind "s" split-window -v
bind "v" split-window -h
bind "j" select-pane -D
bind "k" select-pane -U
bind "h" select-pane -L
bind "l" select-pane -R
bind -r "C-h" resize-pane -L 6
bind -r "C-l" resize-pane -R 6
bind -r "C-j" resize-pane -D 6
bind -r "C-k" resize-pane -U 6
bind "=" select-layout tiled
bind "!" break-pane
bind \; choose-tree
# Status bar
set-option -g status-position bottom
set-option -g status-left-length 90
set-option -g status-right-length 90
set-option -g status-right '#(wifi) #(battery --tmux) [%Y-%m-%d(%a) %H:%M]'
set-option -g status-interval 1
set-option -g default-terminal screen-256color
set -g terminal-overrides 'xterm:colors=256'
setw -g mouse
set-window-option -g mode-keys vi
set-window-option -g automatic-rename off
set -g base-index 1
setw -g mode-keys vi
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-style bg=black,fg=yellow,default
# default window title colors
set-window-option -g window-status-style fg=brightblue,bg=default
#set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default
#set-window-option -g window-status-current-attr bright
# pane border
set-option -g pane-border-style fg=black
set-option -g pane-active-border-style fg=brightgreen
# message text
set-option -g message-style bg=black,fg=brightred
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
# bell
set-window-option -g window-status-bell-style fg=black,bg=red #base02, red
# clipboard copy
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"