Closed linrongbin16 closed 1 year ago
I have found two similar issues:
The fzf#run
and fzf#wrap
should solve this issue.
Finally, the correct command is:
command! -bang -nargs=? -complete=dir UnrestrictedFiles
\ call fzf#run(
\ fzf#vim#with_preview(
\ fzf#wrap({ 'source': 'fd -tf -tl -i -u --exclude ".git" '.shellescape(<q-args>) }, <bang>0)
\ )
\ )
man fzf
)Installed with packer.nvim
I defined a custom command, trying to find files with
fd --no-ignore --hidden
:It's good to open fd and fuzzy search a file. But when enter to open the file. There's an error:
Please help me with that.