From ba1ac41f608c21dbfb33b42a220b1cdfcd045716 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Tue, 26 Mar 2024 10:31:20 -0500 Subject: [PATCH] fzf: set scoring schemes --- fish/conf.d/fzf.fish | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fish/conf.d/fzf.fish b/fish/conf.d/fzf.fish index 10e71d9..12a8fb1 100644 --- a/fish/conf.d/fzf.fish +++ b/fish/conf.d/fzf.fish @@ -15,6 +15,7 @@ function __fzf_files fzf \ --ansi \ --info=inline-right \ + --scheme=path \ --preview='bat --style=numbers --color=always {}' \ --preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \ --bind='?:toggle-preview' \ @@ -45,7 +46,7 @@ function __fzf_git_log fzf \ --ansi \ --info=inline-right \ - --tiebreak=index \ + --scheme=history \ --preview="git show {2} $argv | delta" \ --preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \ --bind='?:toggle-preview' \ @@ -67,7 +68,7 @@ function __fzf_history fzf \ --read0 \ --info=inline-right \ - --tiebreak=index \ + --scheme=history \ --query=(commandline) \ --preview='echo {3..}' \ --preview-window='down,10,wrap,hidden' \ -- 2.45.2