telescope-file-browser.nvim icon indicating copy to clipboard operation
telescope-file-browser.nvim copied to clipboard

feat(file_browser): add support for custom parameters in fd search

Open maorun opened this issue 9 months ago • 1 comments

Add support for custom parameters in fd search by allowing users to pass in a table of parameters to be included in the fd command. This change provides more flexibility for users who need to customize their search queries in the file browser.

use-case: e.g. max the results on an unlimited depth search:

require('telescope').extensions.file_browser.file_browser({
    path = '%:p:h',
    fd_params = {
        ['--max-results'] = 100,
    },
})

maorun avatar May 08 '24 12:05 maorun