summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/lf/lfrc3
-rwxr-xr-x.local/bin/editorcmd2
2 files changed, 3 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 24a9961..d98b171 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -38,7 +38,7 @@ cmd open ${{
esac
}}
-cmd mkdir $mkdir -p "$(gecho $* | tr ' ' '\ ')"
+cmd mkdir $mkdir -p "$(echo $* | sed 's/ /\ /g')"
cmd bulkrename $vidir $fx
cmd showallpics $exa *.png *.jpg *.jpeg *.gif *.webp *.tif *.ico 2>/dev/null | sxiv -taib &
@@ -78,4 +78,5 @@ map <f-2> bulkrename
map <c-e> down
map <c-y> up
+map e $$EDITOR $fx
map E push :$$EDITOR<space>
diff --git a/.local/bin/editorcmd b/.local/bin/editorcmd
index 0aaa412..d7dd47b 100755
--- a/.local/bin/editorcmd
+++ b/.local/bin/editorcmd
@@ -1,3 +1,3 @@
#!/usr/local/bin/dash
-exec emacsclient -t -a /usr/local/bin/nvim $@
+exec emacsclient -t -a /usr/local/bin/nvim "$@"