Spotlight search integration [DONE]

Any wishes
Locked
sasha
Posts: 168
Joined: Wed Feb 17, 2016 4:59 pm

Spotlight search integration [DONE]

Post by sasha » Tue Mar 01, 2016 1:18 pm

After heavily using Files for a month, here is one thing I would like to have: a simple Spotlight search integration.

Using "File > Find..." is often too complex for a simple fuzzy search. Here, the OSX built-in Spotlight (CMD+Space) is great: fuzzy input ( irrelevant order, filename or content...) and as-you-type results. Here's an idea for a Files integration:

1) Add a menu item with Spotlight-like shortcut (e.g. OPT+Space)
2) Focus goes to active panel's column header (where path is usually displayed)
3) Change its string to something like "Spotlight search: ", panel is initially empty
4) User can type anything, just like in a Spotlight search
5) Internally, call "mdfind -interpret $user_input" and create a temporary panel from results as-you-type. This should have about the same result as a Spotlight search.

Optionally, the results could be filtered using new settings in Files' Preferences (mdfind is very powerful)

What do you think?

-Sasha

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Spotlight search integration

Post by mike » Wed Mar 09, 2016 6:53 am

Hi sasha,

This sounds interesting.
Even more - I have a plans for Spotlight integration, but from the other side - from Finder's SmartFolders, which are in turn just a settings for a Spotlight.

Mike.

sasha
Posts: 168
Joined: Wed Feb 17, 2016 4:59 pm

Re: Spotlight search integration

Post by sasha » Wed Mar 09, 2016 10:12 pm

I'm looking forward that. I think Spotlight integration in Files has a lot of potential.

-sasha

Locked