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: type an app name and Tab in Spotlight to search inside that app

Spotlight
~/tips/tip-macos-spotlight-tab-search-in-app

Command-Space, Notes, Tab, wifi password

Searches inside one app or location straight from Spotlight.

Searching Mail for one message usually means opening Mail, clicking the search field and waiting. Spotlight can skip that first part.

Open Spotlight with Command-Space, type the name of an app and press Tab. Spotlight then searches within that app, so whatever you type next only finds things from there. Apple names Mail, Notes and Preview as examples.

Command-Space, Notes, Tab, wifi password

In that example the results only come from Notes, and the word you search for is “wifi password”. The same trick works with a place instead of an app: type a file location such as iCloud Drive, press Tab, and then type the name of the file you want.

I’d reach for this when an app name collides with a common word. Searching for “meeting” across the whole Mac gives calendar items, mail, files and a website or two. Scoping it to Notes first gives you the note.

The caveat is the macOS version. This comes from the current Mac User Guide, written for the redesigned Spotlight, and I wouldn’t count on it on a Mac that runs an older release.

Further reading: Narrow your search results in Spotlight on Mac

More Spotlight tips mdimport -i ~/Documents/Invoices Command-2 Files double-click backup-2025.zip unpacks it next to the zip Tab show the Quick Actions for that result "trip to Paris" All Spotlight tips (14) All topics

Link