Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sharkdp/fd #18

Closed
lithammer opened this issue Jan 11, 2018 · 3 comments
Closed

Add support for sharkdp/fd #18

lithammer opened this issue Jan 11, 2018 · 3 comments

Comments

@lithammer
Copy link

https://github.com/sharkdp/fd is the new kid on the block as an alternative to find(1), but obviously much faster (see benchmarks in README).

It would be nice to extend ListFilesCommand to check fo fd either between git and rg, or as first hit since it has some git filtering built in.

@srstevenson
Copy link
Owner

srstevenson commented Jan 14, 2018

Thanks for the suggestion @Renstrom, I hadn't come across fd before! I'm wary of a proliferation of conditional branches based on what tools are installed, so instead of adding fd I've opened #20 which makes the choice of file listing tool user configurable. To use fd, you can set:

let g:picker_find_executable = 'fd'
let g:picker_find_flags = '--color=never'

I'm going to use this configuration for a bit and decide whether to switch the default tool from rg to fd, as fd looks ideally suited.

@lithammer
Copy link
Author

This is great, thanks!

@srstevenson
Copy link
Owner

@Renstrom As of 6e93ac3, fd is now used instead of riprgrep by default.

@srstevenson srstevenson removed their assignment Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants