u
This commit is contained in:
@@ -63,7 +63,8 @@ cmd cds :cd /home/poq/syncDir
|
|||||||
# text files and a file opener for the rest.
|
# text files and a file opener for the rest.
|
||||||
cmd open &{{
|
cmd open &{{
|
||||||
case $(file --mime-type -Lb $f) in
|
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;;
|
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
|
||||||
esac
|
esac
|
||||||
}}
|
}}
|
||||||
@@ -124,4 +125,4 @@ cmd dragon-stay %dragon-drop --all "$fx"
|
|||||||
cmd dragon-individual %dragon-drop "$fx"
|
cmd dragon-individual %dragon-drop "$fx"
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
cmd edit helix "$fx"
|
cmd edit %helix "$fx"
|
||||||
|
|||||||
Reference in New Issue
Block a user