From 456ee6e57f795b2c72bd8694ff7540e28e327b0f Mon Sep 17 00:00:00 2001 From: committer Date: Fri, 31 May 2024 16:38:45 -0500 Subject: [PATCH] u --- dots/environment/environment | 3 ++- dots/lf/lfrc | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dots/environment/environment b/dots/environment/environment index f8dda84..e77f38c 100644 --- a/dots/environment/environment +++ b/dots/environment/environment @@ -28,4 +28,5 @@ GTK_THEME=Sweet-Dark # secrets SECRET_KD3=RtKFWJIoXWjU80mlo4T4Ey2mqDNeJQwHjYLkE0ViN+k -EDITOR=nano +# used by lf +EDITOR=helix diff --git a/dots/lf/lfrc b/dots/lf/lfrc index e7105f7..9ddd339 100644 --- a/dots/lf/lfrc +++ b/dots/lf/lfrc @@ -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 }}