brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Command-1 and Command-2 limit Spotlight to apps or to files

Spotlight
~/tips/tip-spotlight-command-1-command-2-browse

Command-2 Files

Switch Spotlight to only apps or only files so other results stop getting in the way.

Search for notes in Spotlight and you get the Notes app, a dozen notes, some mail and a web suggestion. When you already know you want a file, or an app, you can say so.

Open Spotlight and press a number with Command. Apple calls these Browse Modes:

Command-1   Applications
Command-2   Files
Command-3   Actions
Command-4   Clipboard history

Command-2 is the one I’d use most. Type part of a file name and only files and folders come back, so a document called “budget” isn’t buried under a website and an app suggestion. Command-1 does the opposite: only apps, which is a quick way to browse everything installed when you can’t remember an app’s name.

You can also click the buttons next to the search field, and Apple notes that categories show up below the field while you type, such as Folders or System Settings, which you can click to filter further.

An example: Command-Space, Command-2, “invoice march”. Only the files, best match on top, Return to open or Command-R to see it in Finder.

Each mode only searches what Spotlight is allowed to show. If a category is switched off in Spotlight settings, or a folder sits in Search Privacy, the mode won’t bring it back. And the modes come from the current Spotlight; on an older macOS these shortcuts don’t exist.

Further reading: Narrow your search results in Spotlight on Mac (Apple), Spotlight keyboard shortcuts on Mac (Apple)

More Spotlight tips mdimport -i ~/Documents/Invoices double-click backup-2025.zip unpacks it next to the zip Tab show the Quick Actions for that result "trip to Paris" Results from Apps / System / Clipboard: switch categories off All Spotlight tips (14) All topics

Link