-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
115 lines (95 loc) · 3.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
set-option -g default-shell $SHELL
set -g renumber-windows on
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
set-option -g default-command bash
# Configure the catppuccin plugin
set -g @catppuccin_flavor "mocha"
# "latte", "frappe", "macchiato", or "mocha".
# rounded, slanted, basic,
set -g @catppuccin_window_status_style 'none' # -- none, rounded, slanted, basic
set -g @catppuccin_window_number_position 'right'
set -g @catppuccin_window_status 'no'
set -ogq @catppuccin_window_text " #W"
set -ogq @catppuccin_window_number "#I"
set -ogq @catppuccin_pane_default_text "##{W}"
##https://github.com/catppuccin/tmux/blob/main/docs/reference/configuration.md
set -g @catppuccin_window_default_text '#W'
set -g @catppuccin_window_current_fill 'number'
set -g @catppuccin_window_current_text '#W'
set -g @catppuccin_status_background "none" # this make transparent bar
set -g @catppuccin_window_current_color '#{E:@thm_surface_2}'
set -g @catppuccin_date_time_text '%d.%m. %H:%M'
set -g @catppuccin_status_module_text_bg '#{E:@thm_mantle}'
set -g @catppuccin_window_current_number_color "#{@thm_red}"
set -g @catppuccin_window_left_separator ""
set -g @catppuccin_window_middle_separator ""
set -g @catppuccin_window_right_separator ""
set -g @catppuccin_window_current_number_color fg=colour0
set -ogq @catppuccin_window_current_text_color fg=colour0
set -ogq @catppuccin_window_text_color fg=colour0
set-option -sa terminal-overrides ",xterm*:Tc"
# Make the status line pretty and add some modules
set -g renumber-window on
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -agF status-right "#{E:@catppuccin_status_cpu}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
set -agF status-right "#{E:@catppuccin_status_battery}"
bind r source-file ~/.tmux.conf
#Wset-option -g status-position bottom
# set-option -g status-position top
set -g base-index 1
set -g pane-base-index 1
set -g mouse on
#set -g history-limit 3000
setw -g mode-keys vi
set -g status-keys vi
#tmux_conf_theme_pane_border_style=thin
#set-option -g pane-active-border-style "bg=default"
#set-option -ag pane-active-border-style "fg=colour0"
#set -g status-right-length 90
bind r source-file ~/.tmux.conf \; display-message "█▓░ ~/.tmux.conf reloaded."
bind a set-window-option synchronize-panes \; display-message "█▓░ synchronize"
#
## vim config
bind-key v split-window -h
bind-key s split-window -v
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
#set -g pane-border-style "fg=colour8"
#set -g pane-active-border-style "fg=colour8"
# set -g window-active-style 'bg=colour236'
# set -g window-style 'bg=black'
#set -g status-left ''
#set -g status-right ''
# set-option -g status-right " #(~/.config/polybar/player-moc.sh)"
bind -n S-Left previous-window
bind -n S-Right next-window
#set-option -g pane-active-border-style "bg=default"
#set-option -ag pane-active-border-style "fg=colour0"
bind -n M-k resize-pane -U 5
bind -n M-j resize-pane -D 5
bind -n M-h resize-pane -L 5
bind -n M-l resize-pane -R 5
#set-option -g status-style bg=default
# List of plugins
set -g @plugin 'catppuccin/tmux#v2.1.2' # See https://github.com/catppuccin/tmux/tags for additional tags
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
run '~/.tmux/plugins/tpm/tpm'