This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_tmux.conf
64 lines (47 loc) · 1.69 KB
/
dot_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
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-sessionist'
# hot-reload
bind r source-file ~/.tmux.conf
# rebind prefix
unbind C-b
unbind C-Space
set -g prefix C-Space
bind C-Space send-prefix
# splits
unbind '"'
unbind '%'
bind h split-window -v
bind v split-window -h
# other sane things
unbind '&'
bind X confirm kill-window
# TokyoNight colors for Tmux
# https://github.com/folke/tokyonight.nvim/blob/main/extras/tmux/tokyonight_storm.tmux
set -g mode-style "fg=#7aa2f7"
set -g message-style "fg=#7aa2f7"
set -g message-command-style "fg=#7aa2f7"
set -g pane-border-style "fg=#3b4261"
set -g pane-active-border-style "fg=#7aa2f7"
set -g status "on"
set -g status-justify "left"
set -g status-style "fg=#7aa2f7"
set -g status-left-length "100"
set -g status-right-length "100"
set -g status-left-style NONE
set -g status-right-style NONE
set -g status-left "#[fg=#bb9af7,bold] #S"
set -g status-right ""
setw -g window-status-activity-style "underscore,fg=#a9b1d6"
setw -g window-status-separator ""
setw -g window-status-style "NONE,fg=#a9b1d6"
setw -g window-status-format "#[fg=#1f2335,nobold,nounderscore,noitalics]#[default] #I #W #[fg=#1f2335,nobold,nounderscore,noitalics]"
setw -g window-status-current-format "#[fg=#7aa2f7,bold] #I #W"
# ensure that neovim in tmux uses correct colors
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# tmux-plugins/tmux-prefix-highlight support
set -g @prefix_highlight_output_prefix "#[fg=#e0af68]#[bg=#1f2335]#[fg=#1f2335]#[bg=#e0af68]"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'