SmiteshP / nvim-navbuddy

A simple popup display that provides breadcrumbs feature using LSP server
Apache License 2.0
770 stars 30 forks source link

Is there a way to fuzzy search within the list? #20

Closed revelationnow closed 1 year ago

revelationnow commented 1 year ago

I have header files with a long list of types and was wondering if there is a good way to do filter on the navbuddy window to quickly find the types that I'm looking for and then investigate them further.

SmiteshP commented 1 year ago

the forward slash search of vim works in navbuddy too, is that what you were looking for?

bartoszb-rgb commented 1 year ago

Search you were mentioning is not perfect. I would love to see there fuzzy search filtering. It would be useful for big files.

WhoSayIn commented 1 year ago

Yes, came here to post this too.

Amazing plugin btw!

But / search is not really doing it. Maybe fzf can be integrated?

SmiteshP commented 1 year ago

Interesting idea, might be very difficult to implement though 🤔. But yeah I can see the appeal. Perhaps we can leverage Telescope.nvim for fuzzy finding, almost every nvimer has telescope anyways.

SmiteshP commented 1 year ago

Hi folks! @revelationnow @WhoSayIn @bartoszb-rgb I have implemented a new telescope action. Can you guys checkout the branch telescope and check it out. Any feedback would be appreciated 🙌🏽

SmiteshP commented 1 year ago

Closing as I created a new action for this.

revelationnow commented 1 year ago

Looks good, thanks a lot @SmiteshP!

WhoSayIn commented 1 year ago

@SmiteshP looking amazing! sorry for the late reply :)

bartoszb-rgb commented 1 year ago

@SmiteshP Looks great! Thanks

fecet commented 1 year ago

That's an amazing feature, I have search a whole day for a plugin for telescope breadcrumbs and you save my life! However the current fuzzy search only allow variable names, can we also include their content?