u
This commit is contained in:
@@ -28,4 +28,5 @@ GTK_THEME=Sweet-Dark
|
||||
# secrets
|
||||
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.
|
||||
cmd open &{{
|
||||
case $(file --mime-type -Lb $f) in
|
||||
# text/*) lf -remote "send $id \$$EDITOR \$fx";;
|
||||
text/*) helix $fx;;
|
||||
# text/*) lf -remote "send $id nano \$fx";;
|
||||
text/*) lf -remote "send $id \$$EDITOR \$fx";;
|
||||
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
|
||||
esac
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user