feat(fish): add fzf binding to move up and down on the list

alt+j and alt+k to move 5 entries
This commit is contained in:
Sergio Laín 2025-08-17 01:33:39 +02:00
parent d3213296e6
commit f369dded18
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438

View file

@ -77,7 +77,8 @@ set -xg FZF_DEFAULT_OPTS "--height=90% --layout=reverse --info=inline --border r
--color=border:#6E738D,label:#CAD3F5 \ --color=border:#6E738D,label:#CAD3F5 \
--bind 'ctrl-u:preview-half-page-up' --bind 'ctrl-u:preview-half-page-up'
--bind 'ctrl-d:preview-half-page-down' --bind 'ctrl-d:preview-half-page-down'
--bind 'ctrl-y:execute-silent(printf {} | cut -f 2- | wl-copy --trim-newline)'" --bind 'ctrl-y:execute-silent(printf {} | cut -f 2- | wl-copy --trim-newline)'
--bind 'alt-j:down+down+down+down+down' --bind 'alt-k:up+up+up+up+up'"
set -xg fzf_preview_dir_cmd eza --long --header --icons --all --color=always --group-directories-first --hyperlink set -xg fzf_preview_dir_cmd eza --long --header --icons --all --color=always --group-directories-first --hyperlink
set -xg fzf_fd_opts --hidden --color=always set -xg fzf_fd_opts --hidden --color=always
set -xg _ZO_FZF_OPTS $FZF_DEFAULT_OPTS '--preview "{$fzf_preview_dir_cmd} {2}"' set -xg _ZO_FZF_OPTS $FZF_DEFAULT_OPTS '--preview "{$fzf_preview_dir_cmd} {2}"'