add drag-and-drop command to lfrc

This commit is contained in:
Kian Kasad 2020-12-01 10:18:49 -08:00
parent 1065e31611
commit ded125619a
No known key found for this signature in database
GPG Key ID: 3B4079444B664E72

View File

@ -63,6 +63,8 @@ cmd copyto ${{
cmd setbg "$1" cmd setbg "$1"
cmd bulkrename $vidir cmd bulkrename $vidir
cmd draganddrop &dragon-drag-and-drop -a -x $fx
# Bindings # Bindings
map <c-f> $lf -remote "send $id select '$(fzf)'" map <c-f> $lf -remote "send $id select '$(fzf)'"
map J $lf -remote "send $id cd $(cut -d' ' -f2 ${XDG_CONFIG_HOME:-$HOME/.config}/directories | 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 X !$f
map o &mimeopen $f map o &mimeopen $f
map O $mimeopen --ask $f map O $mimeopen --ask $f
map dr draganddrop
map A rename # at the very end map A rename # at the very end
map c push A<c-u> # new rename map c push A<c-u> # new rename