diff --git a/vis/.config/vis/fzf.sh b/vis/.config/vis/fzf.sh index 1c5524a..662ed66 100755 --- a/vis/.config/vis/fzf.sh +++ b/vis/.config/vis/fzf.sh @@ -28,6 +28,9 @@ if [ "$1" = list ]; then files+hidden) exec fd --type f -H '' $dir ;; + find-files*) + exec find $dir -type f + ;; search) exec $ripgrep "$FZF_QUERY" $dir ;; @@ -116,6 +119,9 @@ if [ "$1" = key ]; then ;; alt-f) case "$cmd" in + files) + prompt="find-files$hidden" + ;; *files|search) prompt="files$hidden" ;; @@ -220,7 +226,7 @@ auto-search) action="$no_search" prompt="$cmd> " ;; -files|git-files|jj-files) +files|git-files|jj-files|find-files) cmd="$1" action="$search" prompt="$1> "