From b4dc2f0d189d2efe954825e43b8b15c4b0887803 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 14 Nov 2021 20:32:29 -0500 Subject: [PATCH] make it easier to git add fuzzy --- fish.configlink/functions/git-add-fuzzy.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/fish.configlink/functions/git-add-fuzzy.fish b/fish.configlink/functions/git-add-fuzzy.fish index a2eafe7..ac2b8d5 100644 --- a/fish.configlink/functions/git-add-fuzzy.fish +++ b/fish.configlink/functions/git-add-fuzzy.fish @@ -4,6 +4,7 @@ function git-add-fuzzy --height 50% \ -m \ --preview-window right:70% \ + --layout reverse \ --preview 'set -l IFS; set gd (git diff --color=always (echo {} | awk \'{$1=$1};1\' | cut -d" " -f2)); if test "$gd"; echo "$gd"; else; bat --color=always (echo {} | awk \'{$1=$1};1\' | cut -d" " -f2); end') and for gf in $gitfile set gf (echo $gf \