Skip to content

Theme overwrite the plugin #59

@valentimarco

Description

@valentimarco

I am using catppuccin/tmux#v0.4.0 and the theme seams to overwrite the name. i look the code of the theme and try to disable some stuff but seems to not work.

Maybe skill issue on my side xD

Config used:

set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
set -g default-terminal "tmux-256color"
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins"
# set-environment -g PATH "/bin:/usr/bin"
set -s escape-time 10                     # faster command sequences
set -sg repeat-time 600                   # increase repeat timeout
set -s focus-events on

# set title
set -g set-titles on
set -g set-titles-string "#W"
set -g display-panes-time 800 # slightly longer pane indicators display time
set -g display-time 1000      # slightly longer status messages display time
set -g status-interval 10     # redraw status line every 10 seconds

# ctrl-space
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
#neovim plugin required this:
set-option -g focus-events on
#Yazi workaround
set -g allow-passthrough on
set -ga update-environment TERM
set -ga update-environment TERM_PROGRAM
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D 
bind k select-pane -U
bind l select-pane -R

# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on

# Use Alt-arrow keys without prefix key to switch panes
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

# Shift arrow to switch windows
bind -n S-Left  previous-window
bind -n S-Right next-window

# Shift Alt vim keys to switch windows
bind -n M-H previous-window
bind -n M-L next-window

# Bind resurrect keys
set -g @resurrect-save 'S'
set -g @resurrect-restore 'R'
# Resurrect only this proccess
set -g @resurrect-processes 'ssh nvim lazygit lazydocker'
# Resurrect envs
set -g @continuum-restore 'on'

# set vi-mode
#set-window-option -g mode-keys vi
# keybindings
#bind-key -T copy-mode-vi v send-keys -X begin-selection
#bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
#bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel

bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"




set -g @catppuccin_window_status_style "rounded"

set -g @plugin 'ofirgall/tmux-window-name'
set -g @plugin "catppuccin/tmux#v0.4.0"
# set -g @plugin 'tmux-plugins/tmux-sensible'
# #set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'



#Seting status bar
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 -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
set -g @catppuccin_pane_default_text ""
set -g @catppuccin_window_text " "
set -g @catppuccin_window_current_text " ##{automatic-rename}"
set -g @catppuccin_pane_default_text " "

set -g @catppuccin_date_time "%Y-%m-%d %H:%M"
set -g @catppuccin_window_status_style "rounded"
set -g @tmux_window_name_icon_style "'name_and_icon'"
#show dir
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
set -g @tmux_window_name_use_tilde "True"


run '~/.tmux/plugins/tpm-redux/tpm'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions