-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
56 lines (45 loc) · 1.63 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
setw -g mouse on
# https://github.com/ianchesal/dotfiles/blob/main/tmux/tmux.conf
unbind C-b
set -g prefix C-Space
set -g renumber-windows on
set -g set-clipboard on
set -g detach-on-destroy off
# Index at 1 instead of 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
# copy mode
setw -g mode-style 'fg=#89b4fa bg=#181825 bold'
# pane borders
set -g pane-border-style 'fg=#181825'
set -g pane-active-border-style 'fg=#89b4fa'
# statusbar
set -g status-position bottom
set -g status-right '#[fg=#89b4fa]#{?client_prefix,#[fg=#f38ba8],} #S '
set -g status-left ' '
set -g status-right-length 100
set -g status-left-length 100
set -g status-style fg=#89b4fa,bg=#181825
setw -g window-status-current-style 'fg=#89b4fa bold'
setw -g window-status-current-format '#{?client_prefix,#[fg=#f38ba8],}#I #W '
setw -g window-status-style 'fg=colour6'
setw -g window-status-format '#[fg=colour8]#I #[fg=colour8]#W '
setw -g window-status-bell-style 'fg=colour2 bg=colour6 bold'
# messages
set -g message-style 'fg=colour6 bold'
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'jaclu/tmux-menus'
# automatic restore session
set -g @continuum-restore 'on'
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer.sh"
# See: https://jdhao.github.io/2018/10/19/tmux_nvim_true_color/
# set-option -sa terminal-features ',alacritty:RGB'
run '~/.tmux/plugins/tpm/tpm'