Add symlink creation to lfrc

This commit is contained in:
Venem 2022-06-11 11:56:07 +01:00
parent 6207180f7b
commit 8521891ea4
No known key found for this signature in database
GPG Key ID: 1637AA20A2ED8988

View File

@ -90,6 +90,12 @@ cmd copyto ${{
notify-send "📋 File(s) copied." "File(s) copies to $dest." notify-send "📋 File(s) copied." "File(s) copies to $dest."
}} }}
cmd symlink ${{
ln -s "$fx" "/tmp/$(basename $fx)"
lf -remote "send toggle /tmp/$(basename $fx)"
lf -remote "send cut"
}}
cmd setbg "$1" cmd setbg "$1"
cmd bulkrename $vidir cmd bulkrename $vidir
@ -118,6 +124,7 @@ map i push A<a-b><a-b><a-f> # before extension
map a push A<a-b> # after extension map a push A<a-b> # after extension
map B bulkrename map B bulkrename
map b $setbg $f map b $setbg $f
map sl symlink
map <c-e> down map <c-e> down
map <c-y> up map <c-y> up