From 894f2ed687749b3a6bd82e44245a5ebdc3371841 Mon Sep 17 00:00:00 2001 From: mintycube <90507714+mintycube@users.noreply.github.com> Date: Sat, 29 Jun 2024 11:48:05 +0500 Subject: [PATCH] use --remote for searching in lf --- .config/lf/lfrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index d6e6fc4..ae9a238 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -59,7 +59,8 @@ cmd on-cd &{{ cmd fzf_search ${{ selected=$(fzf-fd) if [ -n "$selected" ]; then - lf "$selected" + lf -remote "send $id set hidden" + lf -remote "send $id select $selected" fi }}