This commit is contained in:
committer
2024-05-31 16:42:28 -05:00
parent c444252b6c
commit 44dd357ca1

View File

@@ -63,7 +63,8 @@ cmd cds :cd /home/poq/syncDir
# text files and a file opener for the rest.
cmd open &{{
case $(file --mime-type -Lb $f) in
text/*) lf -remote "send $id \$$EDITOR \$fx";;
# text/*) lf -remote "send $id \$$EDITOR \$fx";;
text/*) lf -remote "send $id %helix \$fx";;
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
esac
}}
@@ -124,4 +125,4 @@ cmd dragon-stay %dragon-drop --all "$fx"
cmd dragon-individual %dragon-drop "$fx"
# misc
cmd edit helix "$fx"
cmd edit %helix "$fx"