43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
|
set -g @plugin 'catppuccin/tmux'
|
|
set -g @plugin 'tmux-plugins/tmux-battery'
|
|
|
|
set -g @catppuccin_window_default_text "#W"
|
|
set -g @catppuccin_window_current_text "#W"
|
|
set -g @catppuccin_window_left_separator "█"
|
|
set -g @catppuccin_window_right_separator "█ "
|
|
set -g @catppuccin_window_number_position "right"
|
|
set -g @catppuccin_window_middle_separator " █"
|
|
|
|
set -g @catppuccin_status_modules_right "battery directory session"
|
|
set -g @catppuccin_status_left_separator ""
|
|
set -g @catppuccin_status_right_separator " "
|
|
set -g @catppuccin_status_right_separator_inverse "yes"
|
|
set -g @catppuccin_status_fill "all"
|
|
set -g @catppuccin_status_connect_separator "no"
|
|
|
|
set -g @catppuccin_directory_text "#{?#{==:#{pane_current_path},$HOME},~,#{b:pane_current_path}}"
|
|
|
|
set -g set-titles on
|
|
setw -g automatic-rename on
|
|
|
|
set -sa terminal-overrides ",xterm-kitty:Tc"
|
|
|
|
set -g mouse on
|
|
setw -g mode-keys vi
|
|
|
|
set -g prefix C-a
|
|
bind a send-prefix
|
|
bind C-a last-window
|
|
|
|
bind -r C-n next-window
|
|
bind -r C-p previous-window
|
|
|
|
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CACHE_HOME/tmux/plugins"
|
|
if-shell 'test ! -d "$TMUX_PLUGIN_MANAGER_PATH"/tpm' {
|
|
run-shell 'git clone https://github.com/tmux-plugins/tpm "$TMUX_PLUGIN_MANAGER_PATH"/tpm && "$TMUX_PLUGIN_MANAGER_PATH"/tpm/bin/install_plugins'
|
|
}
|
|
run-shell '$TMUX_PLUGIN_MANAGER_PATH/tpm/tpm'
|