News for hackers. Stuff that matters.
Re:Fzf – a command-line fuzzy finder by JetSetIlly on Sunday March 20, 2022 @06:45AM (#30741600)
If you're using fzf.vim (https://github.com/junegunn/fzf.vim) then you can use :Rg or :Ag. This will run ripgrep or silver-searcher and present the results in a fuzzy finder window.
Re:Fzf – a command-line fuzzy finder by petepete on Sunday March 20, 2022 @07:13AM (#30741700)
This is great when you want to jump to a specific place.

I also use vim-grepper (mapped to leader-g) for finding in files and populating the quickfix list.

https://github.com/mhinz/vim-grepper

Re:Fzf – a command-line fuzzy finder by CZiNTrPT on Friday March 25, 2022 @02:39PM (#30805664)
I never found a way to search for a couple of words that are near each others (like on start and end of a line eg)

Does that work for you? I thought that's what a fuzzy finder is

Re:Fzf – a command-line fuzzy finder by petepete on Friday March 25, 2022 @07:26PM (#30807941)
I tend to use fzf for jumping rather than searching. To jump to a single instance you'd just type in some letters from each word and hit enter.

If I wanted all occurrences of lines that match a pattern I'd use vim-grepper (which uses Ag or ripgrep under the hood) and search with a regex.

If you're using Telescope you can use your fuzzy search to find the lines you want then use <C-q> to send them to your quickfix list.

Re:Fzf – a command-line fuzzy finder by otikik on Sunday March 20, 2022 @04:56PM (#30746527)
Wait. What. Just tried that. It worked. I must have missed it when I installed the plugin. Thanks a lot! I can now remove a bunch of stuff from my config file :)