Add fzf for file and word searching in directories #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi! I'm doing this as part of Hacktoberfest (my first one ever!) https://hacktoberfest.digitalocean.com.
Hey so I've been wondering how I'm going to contribute, and if there is anything I've played around with a lot this year, it would be playing around with dotfiles.
I saw you recently updated your dotfiles and you use vim. I've been using vim too for a while and I've really loved using
fzf
for quickly reaching different areas of my project very very quickly. Now IMO these are great tools and I've gone really fricken hard on these tools, trying to find the best way forward with them. (https://github.com/suessflorian/Tools/blob/master/init.vim#L37)I did a PR similar to this just before, albeit, the past one had already an implementation of a fzf using pure
Ag
rather thanRg
. Here I tried to go full out and propose my approach to reaching instead.What I've done here is introduced you to
fzf
https://github.com/junegunn/fzf.vim,rg
(ripgrep) andag
(the silver searcher). They work together to help you do two things, search files in directories and also search words and phrases in directories.Hope this is interesting.
Thankyou