-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmuxconf
63 lines (51 loc) · 1.76 KB
/
tmuxconf
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
unbind C-b
set -g prefix C-s
set -g base-index 1
set -sg escape-time 1
set -g history-limit 10000
set -g allow-rename off
set -g set-titles off
set -g renumber-windows on
set -g default-terminal "xterm-256color"
set -sa terminal-overrides ',xterm-256color:RGB'
setw -g pane-base-index 1
setw -g mode-keys vi
setw -g clock-mode-style 24
setw -g monitor-activity on
set -g visual-activity on
bind-key c new-window -n "shell"
bind r source-file ~/.tmux.conf \; display "tmux config reloaded"
bind l last-window
bind -r Left previous-window
bind -r Right next-window
set -g set-titles on
set -g set-titles-string "tmux:#I [ #W ]"
setw -g clock-mode-style 24
setw -g mode-keys vi
# status style
set -g status-style fg=colour228,bg=colour237
set -g status-justify left
# window style
setw -g window-status-format "#[fg=colour52]#[bg=colour45] #I #[fg=colour237]#[bg=colour39] #W "
setw -g window-status-current-format "#[fg=black]#[bg=colour225] *#I #[fg=brightwhite]#[bg=colour199] #W"
# message style
set -g message-style fg=colour226,bg=colour235
# pane style
set -g pane-border-style fg=colour135
set -g pane-active-border-style fg=colour110
# status right
set -g status-right-length 50
set -g status-right "session-id #[fg=colour213]#S#[fg=default] :: sessions #[fg=colour154]#(exec tmux ls | wc -l) :: #(whoami) @ #H "
# status left
set -g status-left-length 100
set -g status-left "%a %Y-%m-%d %H:%M "
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
run '~/.tmux/plugins/tpm/tpm'
# mouse support
setw -g mouse on
bind -n WheelUpPane copy-mode -e
bind -n MouseDrag1Pane copy-mode -M
bind -T copy-mode-vi MouseDrag1Pane send -X begin-selection
bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-selection-no-clear