-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
56 lines (45 loc) · 1.29 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
# Make my neovim themes work >_>
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# Change leader key
unbind C-b
set -g prefix C-e
# Bind splits
unbind "%"
bind-key "|" split-window -h
unbind '"'
bind-key "\\" split-window -v
unbind r
bind-key r source-file ~/.tmux.conf
set -g mouse on
set -g set-titles on
# Renumber windows when one is removed
set -g renumber-windows on
# Reload tmux configuration
# bind C-n source-file ~/.tmux.conf \; display "Config reloaded"
# --> Catppuccin Pallette (Mocha)
thm_bg="#313244"
thm_fg="#cdd6f4"
thm_fg_muted="#A4ABC3"
thm_cyan="#7DAEA3"
thm_black="#181825"
thm_gray="#313244"
thm_magenta="#D3869B"
thm_pink="#D3869B"
thm_red="#EA6962"
thm_green="#A9B665"
thm_yellow="#ffae2e"
thm_blue="#89b4fa"
thm_orange="#fab387"
thm_black4="#585b70"
# Transparent statusbar background
set -g status-style "bg=default"
# Pane borders
set -gq pane-border-style "fg=${thm_gray}"
set -gq pane-active-border-style "fg=${thm_blue}"
# Status bars
set -gq status-left " #[fg=$thm_fg]{#[fg=$thm_fg_muted]#S#[fg=$thm_fg]}"
set -gq status-right "#[fg=$thm_red] #[fg=$thm_fg_muted]%H:%M:%S "
# Current dir
setw -gq window-status-format "#[fg=$thm_fg_muted] #I: #W"
setw -gq window-status-current-format "#[fg=$thm_black4] #[fg=$thm_yellow]#I: #W#[fg=$thm_black4]"