-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
61 lines (45 loc) · 1.76 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
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @resurrect-processes 'cointop newsboat btop python'
set -g @continuum-restore 'on'
set -g default-terminal "screen-256color"
set -g mode-keys vi
set -g escape-time 1
set -g history-limit 50000
set -g mouse on
set -g display-panes-time 2000
set -g allow-passthrough on
unbind C-b
set -g prefix C-t
bind s split-window -v -c "#{pane_current_path}"
bind v split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind r source-file ~/.tmux.conf
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind h select-pane -L
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-style fg=yellow,bg=black #yellow and base02
# default window title colors
set-window-option -g window-status-style fg=brightblue,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=green,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
#set-option -g pane-border-style fg=black #base02
#set-option -g pane-active-border-style fg=brightgreen #base01
# message text
set-option -g message-style fg=brightred,bg=black #orange and base01
# 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
run '/usr/share/tmux-plugin-manager/tpm'