From f369dded188a2b0f35b129a115e105a759c8168c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 17 Aug 2025 01:33:39 +0200 Subject: [PATCH] feat(fish): add fzf binding to move up and down on the list alt+j and alt+k to move 5 entries --- .config/fish/user_variables.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/fish/user_variables.fish b/.config/fish/user_variables.fish index 0dfeabfe..8828b64c 100644 --- a/.config/fish/user_variables.fish +++ b/.config/fish/user_variables.fish @@ -77,7 +77,8 @@ set -xg FZF_DEFAULT_OPTS "--height=90% --layout=reverse --info=inline --border r --color=border:#6E738D,label:#CAD3F5 \ --bind 'ctrl-u:preview-half-page-up' --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_fd_opts --hidden --color=always set -xg _ZO_FZF_OPTS $FZF_DEFAULT_OPTS '--preview "{$fzf_preview_dir_cmd} {2}"'