Fix fzf select in lf (#1126)
Without double quotes, fzf-select fails when selecting a file whose path contains whitespace.
This commit is contained in:
parent
bac8a110ec
commit
09ca9e57ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue