You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a file has spaces, tab completion does not escape the spaces or surround with quotes.
Additionally, if preview is enabled, fzf only shows files up to the first space. I believe this is related to with-nth=1. The preview also breaks when a file has a space. Up to the first space is passed as the first argument to __fzf_complete_preview, with everything after the first space passed as the 2nd, 3rd, etc. arguments.
The text was updated successfully, but these errors were encountered:
It looks like FZF_ENABLE_OPEN_PREVIEW has similar issues with spaces in preview. I got fzf preview working with --preview-window=right:wrap --preview="__fzf_complete_preview {}".
If a file has spaces, tab completion does not escape the spaces or surround with quotes.
Additionally, if preview is enabled, fzf only shows files up to the first space. I believe this is related to
with-nth=1
. The preview also breaks when a file has a space. Up to the first space is passed as the first argument to__fzf_complete_preview
, with everything after the first space passed as the 2nd, 3rd, etc. arguments.The text was updated successfully, but these errors were encountered: