From ded125619a84f540ccb871495d69f5646c80f320 Mon Sep 17 00:00:00 2001 From: Kian Kasad Date: Tue, 1 Dec 2020 10:18:49 -0800 Subject: [PATCH] add drag-and-drop command to lfrc --- .config/lf/lfrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 904cbf25..08188799 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -63,6 +63,8 @@ cmd copyto ${{ cmd setbg "$1" cmd bulkrename $vidir +cmd draganddrop &dragon-drag-and-drop -a -x $fx + # Bindings map $lf -remote "send $id select '$(fzf)'" map J $lf -remote "send $id cd $(cut -d' ' -f2 ${XDG_CONFIG_HOME:-$HOME/.config}/directories | fzf)" @@ -78,6 +80,7 @@ map x $$f map X !$f map o &mimeopen $f map O $mimeopen --ask $f +map dr draganddrop map A rename # at the very end map c push A # new rename