omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Comprehensive Fuzzy Search in Omarchy Menu (Super+Alt+Space) for Nested Items

Open narra-skr opened this issue 1 year ago • 8 comments

What do you need?

I would like to propose an enhancement to the search functionality within the Omarchy Menu (activated via Super + Alt + Space).

The Problem / Current Behavior Currently, when using the fuzzy search in the Omarchy Menu, it does not consistently display all matching menu items if they are nested under different top-level categories.

Example: If I type the search term "keybinding" I will not be able to see any results cause they are under sub sections like:

  • Setup > Keybindings

But I know an identical or related item exists under a different section, such as:

  • Learn > Keybindings

This requires the user to know the exact path or navigate manually, which defeats the purpose of the fast, fuzzy-search-driven workflow.

The Proposed Solution / Desired Behavior The search function should be enhanced to perform a comprehensive fuzzy match against the full path (or at least the full title) of every menu item and display all results that match the search term, regardless of their top-level category.

If I type "keybindings" the menu list should display both results simultaneously, allowing me to select the one I need using the arrow keys:

keybindings

  • Learn > keybindings
  • Setup > keybindings

Benefit This enhancement directly supports the keyboard-centric philosophy of Omarchy by:

Improving discoverability: Users don't need to know the specific category where an option is located.

Boosting efficiency: Eliminates the need for guesswork or manually browsing menu sections.

Ensuring consistency: Provides a complete and predictable search result set every time

Can I try to work on this if no one is already working? 🙂

narra-skr avatar Sep 29 '25 15:09 narra-skr

Yes that would be immensely helpful, and just make the menu generally more usable and fast.

skoom21 avatar Sep 30 '25 13:09 skoom21

Ah i should delete my suggestion, i was looking for exactly same. Hope the look into this

xulqarnaen avatar Sep 30 '25 17:09 xulqarnaen

it does not consistently display all matching menu items if they are nested under different top-level categories

You say this as if searching for menu items that are not duplicated would work? Doesn't work for me at least, or is there some setting somewhere to enable it?

It's so frustrating that when you know where you wanna go, e.g. Theme, you can't just type that but have to first remember and type the top level menu (Style) and only then you can type the actual thing you want...

cvuorinen avatar Oct 01 '25 12:10 cvuorinen

@cvuorinen, actually I was referring to the same thing. I should have phrased it differently 🤦‍♂️

narra-skr avatar Oct 02 '25 11:10 narra-skr

Hey everyone, how would you prefer it? Should it be integrated with the top search bar, or should we add it as a new item like in the images below?

Also, sorry @KoushikScripts — I was making the tweak for myself when I came across your issue. Have you made any improvements since then?

Image Image

RushiChaganti avatar Oct 06 '25 11:10 RushiChaganti

@RushiChaganti Yes, I added a search item in menu. It will be messy and unorganized if we make it in the landing search bar itself.

I made a PR today 2253

narra-skr avatar Oct 06 '25 11:10 narra-skr

Hey @KoushikScripts , thanks for the quick reply! In my approach, I’m using AWK to extract all the cases from the submenus, so we don’t have to write them again in the full menu list. What do you think? Also, I will raise a new PR and let the team decide the best approach.

RushiChaganti avatar Oct 06 '25 11:10 RushiChaganti

Looks like this will be handled via https://github.com/basecamp/omarchy/issues/2807

morgoth avatar Oct 25 '25 20:10 morgoth