From 873133c3c0dc49cf896e682a638951f6d2be0f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 2 Aug 2025 20:45:54 +0200 Subject: [PATCH] refactor(tmux): plugins in use --- .config/tmux/conf/plugins.conf | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/.config/tmux/conf/plugins.conf b/.config/tmux/conf/plugins.conf index 292a919f..2d32a5f2 100644 --- a/.config/tmux/conf/plugins.conf +++ b/.config/tmux/conf/plugins.conf @@ -2,8 +2,7 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'catppuccin/tmux' -set -g @plugin 'wfxr/tmux-fzf-url' -set -g @plugin 'sainnhe/tmux-fzf' +set -g @plugin 'Morantron/tmux-fingers' # Plugin Options ## Catppuccin @@ -15,17 +14,16 @@ set -g @catppuccin_status_background 'none' ### Left Status set -g status-left-length 100 set -g status-left "" -set -ga status-left "#{?client_prefix,#{#[bg=#{@thm_red},fg=#{@thm_mantle},bold]  #S },#{#[bg=#{@thm_mantle},fg=#{@thm_green}]  #S }}" -set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_overlay_0}, none]|" -set -ga status-left "#[bg=#{@thm_mantle},fg=#{@thm_lavender}]  #{=/-32/...:#{s|$USER|~|:#{b:pane_current_path}}} " +set -ga status-left "#{?client_prefix,#{#[bg=#{@thm_red},fg=#{@thm_mantle},bold]  #S },#{#[bg=#{@thm_lavender},fg=#{@thm_bg}]  #S }}" # Windows Style set -g @catppuccin_window_status_style "basic" set -g automatic-rename on -set -g window-status-separator '|' +# set -g window-status-separator '|' set -g status-justify 'absolute-centre' set -g @catppuccin_window_current_text_color "#{@thm_surface_1}" -set -g @catppuccin_window_current_number_color "#{@thm_mauve}" +set -g @catppuccin_window_current_number_color "#{@thm_lavender}" +set -g @catppuccin_window_number_color "#{@thm_overlay_2}" set -g @catppuccin_window_flags_icon_last "" # - set -g @catppuccin_window_flags "icon" set -g @catppuccin_window_flags_icon_current "" # * @@ -35,18 +33,7 @@ set -g @catppuccin_window_current_text " #W" ### Right Status set -g status-right-length 100 set -g status-right "" -set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_peach}]  #{user} " -set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_overlay_0}, none]|" -set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_blue}] 󰭦 %Y-%m-%d 󰅐 %H:%M " -## fzf-url -set -g @fzf-url-bind 'u' - -## tmux-fzf -TMUX_FZF_OPTIONS="-p -w 80% -h 80% -m" -TMUX_FZF_PREVIEW=1 -TMUX_FZF_LAUNCH_KEY="space" -TMUX_FZF_ORDER="session|window|pane" -bind-key "w" run-shell -b "~/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch" -bind-key "s" run-shell -b "~/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch" -bind-key "S" run-shell -b "~/.config/tmux/plugins/tmux-fzf/scripts/session.sh new" +## tmux-fingers +bind -n M-f run -b "#{@fingers-cli} start #{pane_id}" +bind u run -b "#{@fingers-cli} start #{pane_id} --patterns url"