refactor(tmux): substitute sessionx with fzf-tmux and remove floax
This commit is contained in:
parent
c68dbe9f1d
commit
82b9f08fab
1 changed files with 11 additions and 26 deletions
|
@ -2,12 +2,11 @@
|
|||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'catppuccin/tmux#v0.3.0'
|
||||
set -g @plugin 'omerxx/tmux-sessionx'
|
||||
set -g @plugin 'wfxr/tmux-fzf-url'
|
||||
set -g @plugin 'omerxx/tmux-floax'
|
||||
set -g @plugin 'sainnhe/tmux-fzf'
|
||||
|
||||
# Plugin Options
|
||||
# Catppuccin
|
||||
## Catppuccin
|
||||
set -g @catppuccin_directory_text "#{pane_current_path}"
|
||||
set -g @catppuccin_window_current_text "#{window_name}"
|
||||
set -g @catppuccin_window_default_text "#{window_name}"
|
||||
|
@ -27,28 +26,14 @@ set -g @catppuccin_status_right_separator ""
|
|||
set -g @catppuccin_status_fill "all"
|
||||
set -g @catppuccin_status_connect_separator "yes"
|
||||
|
||||
# Sessionx
|
||||
set -g @sessionx-bind 'space'
|
||||
set -g @sessionx-filter-current 'true'
|
||||
set -g @sessionx-preview-location 'top'
|
||||
set -g @sessionx-preview-ratio '65%'
|
||||
set -g @sessionx-window-height '80%'
|
||||
set -g @sessionx-window-width '75%'
|
||||
set -g @sessionx-tmuxinator-mode 'on'
|
||||
set -g @sessionx-bind-window-mode 'alt-w'
|
||||
set -g @sessionx-bind-tree-mode 'alt-t'
|
||||
set -g @sessionx-bind-new-window 'alt-c'
|
||||
set -g @sessionx-bind-rename-session 'alt-r'
|
||||
set -g @sessionx-bind-kill-session 'alt-q'
|
||||
set -g @sessionx-bind-configuration-path 'alt-e'
|
||||
set -g @sessionx-bind-back 'alt-b'
|
||||
set -g @sessionx-ls-command 'eza -a --icons --group-directories-first --color always'
|
||||
set -g @sessionx-filtered-sessions 'scratch'
|
||||
|
||||
# fzf-url
|
||||
## fzf-url
|
||||
set -g @fzf-url-bind 'u'
|
||||
|
||||
# Floax
|
||||
set -g @floax-bind '-n M-p'
|
||||
set -g @floax-border-color 'white'
|
||||
set -g @floax-text-color 'white'
|
||||
## 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"
|
||||
|
|
Loading…
Add table
Reference in a new issue