From 8bbc2050a88df645185f52b782083902493d6261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 29 Oct 2023 23:48:54 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(fish):=20copy=20bind=20for=20f?= =?UTF-8?q?zf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/fish/variables.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/fish/variables.fish b/.config/fish/variables.fish index c7c55b90..b0ff18c5 100644 --- a/.config/fish/variables.fish +++ b/.config/fish/variables.fish @@ -57,7 +57,8 @@ set -xg FZF_DEFAULT_COMMAND fd --hidden --exclude .git set -xg FZF_DEFAULT_OPTS "--height=90% --layout=reverse --info=inline --border --margin=1 --padding=1 \ --color=bg+:#363a4f,bg:#24273a,spinner:#f4dbd6,hl:#ed8796 \ --color=fg:#cad3f5,header:#ed8796,info:#c6a0f6,pointer:#f4dbd6 \ ---color=marker:#f4dbd6,fg+:#cad3f5,prompt:#c6a0f6,hl+:#ed8796" +--color=marker:#f4dbd6,fg+:#cad3f5,prompt:#c6a0f6,hl+:#ed8796 \ +--bind 'ctrl-y:execute-silent(printf {} | cut -f 2- | wl-copy --trim-newline)'" set -xg fzf_preview_dir_cmd eza --long --header --icons --all --color=always --group-directories-first --hyperlink set -xg fzf_fd_opts --hidden --exclude=.git --color=always set -xg fzf_diff_highlighter delta --paging=never --width=20