summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorAndrew <andrewwang298@gmail.com>2022-06-17 12:36:14 -0400
committerGitHub <noreply@github.com>2022-06-17 16:36:14 +0000
commit09ca9e57acf3cbc568842b542379ec57a1184b2e (patch)
tree3ab9806ddbb75b98d0a3c3196c7d5013afd33e13 /.config
parentbac8a110ecd69c542f16596a432f7a8b03ce1fb8 (diff)
downloadeibhear-09ca9e57acf3cbc568842b542379ec57a1184b2e.tar.gz
eibhear-09ca9e57acf3cbc568842b542379ec57a1184b2e.tar.zst
eibhear-09ca9e57acf3cbc568842b542379ec57a1184b2e.zip
Fix fzf select in lf (#1126)
Without double quotes, fzf-select fails when selecting a file whose path contains whitespace.
Diffstat (limited to '.config')
-rw-r--r--.config/lf/lfrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index f12d9c7..315ac3f 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -94,7 +94,7 @@ cmd setbg "$1"
cmd bulkrename $vidir
# Bindings
-map <c-f> $lf -remote "send $id select '$(fzf)'"
+map <c-f> $lf -remote "send $id select \"$(fzf)\""
map J $lf -remote "send $id cd $(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf)"
map gh
map g top