From c6dfc74e5d558fea6209a152a4b043acd0169824 Mon Sep 17 00:00:00 2001 From: MidHunterX Date: Wed, 1 May 2024 10:58:10 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=81=20Updat:=20FD=20implementation=20o?= =?UTF-8?q?f=20FZF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/vifm/vifmrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index 0515672..44799ed 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -9,8 +9,10 @@ " find . \( -path "./.config" -o -path "./.config/*" \) -o \( -type d -o -type f \) -not -regex ".*/\..*" | fzf " Exclude dot dir except for .config/ (dir only) - 9219 " find . \( -path "./.config" -o -path "./.config/*" \) -type d -o -type d -not -regex ".*/\..*" | fzf +" fd super fast alternative +" fd --type d --type f --hidden --exclude ".git" --exclude ".local" --exclude ".cache" --no-ignore-vcs --max-depth 5 | fzf -command! FZFfind : let $FZF_PICK = term('find . \( -path "./.config" -o -path "./.config/*" \) -type d -o -type d -not -regex ".*/\..*" | fzf --height 10 2>/dev/tty') +command! FZFfind : let $FZF_PICK = term('fd --type d --type f --hidden --exclude ".git" --exclude ".local" --exclude ".cache" --no-ignore-vcs --max-depth 5 | fzf 2>/dev/tty') \| if $FZF_PICK != '' \| execute system('[ -f "$FZF_PICK" ] && echo goto || echo cd') fnameescape($FZF_PICK) \| endif