u
This commit is contained in:
@@ -28,4 +28,5 @@ GTK_THEME=Sweet-Dark
|
|||||||
# secrets
|
# secrets
|
||||||
SECRET_KD3=RtKFWJIoXWjU80mlo4T4Ey2mqDNeJQwHjYLkE0ViN+k
|
SECRET_KD3=RtKFWJIoXWjU80mlo4T4Ey2mqDNeJQwHjYLkE0ViN+k
|
||||||
|
|
||||||
EDITOR=nano
|
# used by lf
|
||||||
|
EDITOR=helix
|
||||||
|
|||||||
@@ -63,9 +63,7 @@ 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/*) helix $fx;;
|
|
||||||
# text/*) lf -remote "send $id nano \$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
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user