Coming from Windows: the Everything search habit on a Mac
· 6 min read
On Windows you had a habit: press a hotkey, type three or four letters from a filename, and see every file on the whole disk whose name contains them, updating as you type. macOS does not ship that behavior. It ships Spotlight, which is a launcher and a content search that also returns files ranked by what it thinks you meant, plus Finder search, which can be pushed most of the way back toward the old habit once you change two settings.
Here is what to change, and what is genuinely missing afterwards.
What the habit actually was
It helps to separate the parts, because macOS gives you some of them and not others.
- Name matching, not content matching. You typed a fragment of a filename and got filenames back. Nothing was read from inside the documents.
- Substring matching. Typing
voicefoundinvoice-2024.pdf, because the match could begin anywhere in the name. - The whole disk, every time. No scope to pick, no folder you had to be standing in.
- A list, not a verdict. Nine hundred matches was a normal answer, and you narrowed it by typing more.
- Redrawn on every keystroke. The list changed as fast as you typed.
Spotlight gets one of those five right out of the box. That mismatch, rather than raw speed, is what people mean when they say search on a Mac feels wrong.
What Spotlight does instead
Command-Space opens Spotlight. It searches file names and file contents, and it also searches your apps, System Settings panes, contacts, calendar events, definitions, conversions and, if you leave it on, the web. Then it ranks all of that together and shows you a top hit.
Two consequences follow. First, matching is done from the start of words: a name is split into words at spaces, hyphens, underscores and dots, and each word is matched from its beginning. So 2024 and final find invoice_2024_final.pdf, and voice does not. Second, because the window is built around a single best answer, a search that genuinely has four hundred matching files collapses into a handful of rows and a link to show the rest in Finder.
That is good behavior for a launcher and poor behavior for the habit you brought with you. A launcher and a file search are different tools goes into why one window struggles to be both.
Making Finder search behave like the old habit
Finder search uses the same index, but it lets you say what you actually want.
- Open Finder, then Finder in the menu bar, Settings, Advanced. Set When performing a search to Search This Mac. Without this, searches start in whatever folder you happen to have open, which is the single biggest source of “it found nothing” on a new Mac.
- Press Command-F in any Finder window. From anywhere else, Command-Option-Space opens a Finder search window directly.
- Type your fragment. A menu appears under the field; choose the Filename contains entry. That is the substring match you are used to, and it is the setting that makes the fragment work.
- Check the scope bar under the toolbar says This Mac rather than the folder name.
- Switch to list view with Command-2, and turn on View, Show Path Bar so you can see where each result lives without opening it.
- If it is a search you will repeat, click Save. It becomes a Smart Folder and you can put it in the sidebar.
One gap remains: Finder leaves system files and your ~/Library folder out by default. To include them, click the plus button at the right of the search bar, choose System files in the first pop-up (it may be filed under Other), and set it to are included.
The Terminal version
If you would rather type than click, mdfind reads the same index and behaves closer to the old tool than the Spotlight window does.
mdfind -name invoice
-name matches anywhere in the file name, not only at the start of a word, and it prints every path it finds with no ranking. To confine it to one folder:
mdfind -onlyin ~/Documents invoice
When the index itself is the problem, find walks the disk without consulting any index:
find ~ -iname "*invoice*" 2>/dev/null
That is slow on a full disk because it reads every folder, and Terminal will ask for permission the first time it touches Desktop, Documents or Downloads.
The parts macOS still will not do
Some of the old habit has no macOS equivalent at any setting.
- Inside packages. The Photos library and the Mail store are folders that Finder presents as single files. Their contents do not appear in search results at all.
- Drives that are not plugged in. Spotlight only searches what is currently mounted, so the answer to “which drive is that project on” is a drawer of drives and a lot of plugging in. Files on an unplugged external drive covers what you can do about that.
- A stable, unranked list of every match. Even at its best, Finder search is presenting results, not enumerating them.
If those are the parts you miss, the category you want is a file search that keeps its own catalog of names rather than querying Spotlight. Everywhere reads every filename on the Mac once and then narrows the list on each keystroke, opens over whatever app you are in with Option-Space, and includes mail attachments, originals inside the Photos library and files on external drives that are currently unplugged (dimmed, with the name of the drive to plug in). It searches names and paths only, never the text inside documents, so for “the contract that mentions the Fraser deadline” Spotlight is still the right tool.
Other Explorer habits that translate
While you are rebuilding muscle memory, these are the small ones that come up in the first week.
- Typing a path into the address bar becomes Command-Shift-G, Go to Folder, which accepts
~and autocompletes. - F2 to rename becomes Return. Return does not open the file on a Mac; Command-Down does.
- Command-Up goes to the enclosing folder.
- Cut and paste to move a file becomes Command-C, then Command-Option-V at the destination.
- Delete on its own does nothing in Finder. Command-Delete moves to the Trash.
- Hidden files toggle with Command-Shift-Period in any Finder window.
- File extensions are hidden by default. Finder, Settings, Advanced, Show all filename extensions turns them back on, which is worth doing on day one.
Questions
Can I remap Command-Space to open Finder search instead? Yes. System Settings, Keyboard, Keyboard Shortcuts, Spotlight lists both Show Spotlight search and Show Finder search window, and either can be reassigned or switched off. Some people give the Finder search window the easier key and leave Spotlight on a combination they press deliberately.
Where are the Mac equivalents of the Windows indexing options?
System Settings, Spotlight (Siri & Spotlight on Ventura and Sonoma). The list of result categories controls what appears, and the privacy button at the bottom holds folders and drives that are excluded from indexing entirely. In Terminal, mdutil -s / reports whether indexing is on for a volume.
Why do web suggestions appear when I am searching for a file? Spotlight includes them by default. In the same Spotlight settings pane you can turn off Siri Suggestions and web results, which also stops search terms leaving the Mac.
Does the fragment problem apply to Finder search too? Only until you pick the Filename contains entry from the menu under the search field. Left alone, Finder ranks and mixes results the same way Spotlight does. Choosing that entry is the whole difference, and it does not stick between searches.