summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGioele De Vitti <gioele@devgioele.xyz>2022-11-16 17:15:57 +0100
committerGitHub <noreply@github.com>2022-11-16 16:15:57 +0000
commit236118759897e6529cc3282caed29b289fab3c7e (patch)
treeb83b617ebeae365ecd36938da5ef879ef2c0708a
parentffb557119a3426a50dd6905722b6fe89826fbe88 (diff)
downloadeibhear-236118759897e6529cc3282caed29b289fab3c7e.tar.gz
eibhear-236118759897e6529cc3282caed29b289fab3c7e.tar.zst
eibhear-236118759897e6529cc3282caed29b289fab3c7e.zip
Avoid expansion of file path containing spaces (#1230)
-rw-r--r--.config/lf/lfrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 0d53456..1f4dfa1 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -115,8 +115,8 @@ map <c-s> set hidden!
map <enter> shell
map x $$f
map X !$f
-map o &mimeopen $f
-map O $mimeopen --ask $f
+map o &mimeopen "$f"
+map O $mimeopen --ask "$f"
map A rename # at the very end
map c push A<c-u> # new rename