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: press Up Arrow in Spotlight to get your previous search back

Spotlight
~/tips/tip-spotlight-up-arrow-history

Up Arrow previous search

Recall an earlier Spotlight search instead of typing it again.

You searched for something a minute ago, opened the wrong result, and now you have to type it all again. Spotlight keeps a short memory for that.

Open Spotlight and press Up Arrow before you type anything. Apple lists it in the Spotlight shortcuts as going back in your search history.

Command-Space    open Spotlight
Up Arrow         previous search
Up Arrow again   the one before that

The earlier search fills the field again, with its results, so you can pick a different one. Apple’s Spotlight overview says the same in other words: press Up Arrow to recall a previous search.

I find it handy in two situations. The first: you opened a result, it was the wrong file, and you want the list back. The second: you search for the same thing several times a day, like a project folder, and a single key beats retyping.

Combine it with the other keys once a result is selected: Space for a Quick Look preview, Command-R to show the file in Finder, Return to open it.

Once you start typing, the arrow keys move through the results instead, so press Up Arrow first, while the field is empty.

Further reading: Spotlight keyboard shortcuts on Mac (Apple), Find what you need with Spotlight on Mac (Apple)

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