refactor(tmux): plugins in use
This commit is contained in:
parent
565298b457
commit
873133c3c0
1 changed files with 8 additions and 21 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue