Sub topic 4
Spotlight and Finder from the Keyboard
This chapter assumes you know the modifier keys (⌘, ⌥, ⌃, ⇧) and the notation from the first chapter. It also assumes you can open apps, files, and folders with the mouse. Here you will do the same jobs from the keyboard.
Spotlight: one shortcut for launching and searching
Spotlight is the macOS search tool. It finds apps, files, folders, emails, contacts, and web suggestions. It also does quick calculations and unit conversions.
Open it with ⌘Space. Type a few letters, check the top result, and press Return to open it. You do not need to type the whole name. Typing "saf" is usually enough to reach Safari.
⌘Space Open Spotlight
↩ Open the highlighted result
⌘↩ Show the highlighted result in Finder
⌘1–⌘9 Jump to the numbered result
⌘L Look up the highlighted result's details
Esc Close SpotlightSome of these depend on your macOS version. If a shortcut does nothing, open Spotlight and look at the hints it shows for the highlighted result. The ⌘↩ shortcut works on files and folders. It opens the folder that contains the item and selects it, so you see where the file lives without opening it.
Spotlight as a calculator
Spotlight evaluates simple expressions in the search field. Type 18*42 or 250/4 and the answer appears. It also converts units, such as 5 miles in km. The result appears at once, with no app to open.
Common Spotlight errors
- The wrong result is first. Spotlight ranks by your past choices. If you keep opening the wrong item, type more letters before pressing Return.
- ⌘Space does nothing. Another tool, such as a third-party launcher, may have taken the shortcut. Check System Settings under Keyboard, then Keyboard Shortcuts, then Spotlight.
- A file is missing. Spotlight skips folders excluded in its settings. New or external drives may not be indexed yet.
Finder from the keyboard
Finder is the macOS file manager. Most of its everyday actions have shortcuts. Select an item first, then act on it.
⌘N New Finder window
⇧⌘N New folder
↩ Rename the selected item
⌘O Open the selected item
⌘↓ Open the selected item (same as ⌘O)
⌘↑ Go up one folder level
⌘Delete Move to Trash
⌘D Duplicate
⌘I Get Info
Space Quick Look preview
⇧⌘G Go to Folder...Notice that Return renames an item in Finder. It does not open it. This surprises many people at first. To open a selected file, use ⌘O or ⌘↓.
Go to Folder and Quick Look
Two shortcuts save the most clicking. Press ⇧⌘G to open the Go to Folder box. Then type a path such as ~/Downloads or /Applications and press Return. The box also accepts hidden locations like ~/Library.
Select a file and press Space to preview it in Quick Look. This works on images, PDFs, documents, and videos. Press Space again, or Esc, to close it. Use the arrow keys while Quick Look is open to preview other files.
Moving around and copying files
The arrow keys move the selection. You can also type the first letters of a name to jump to a matching item. To copy a file to another folder, use the same editing shortcuts you already know. Select it, press ⌘C, open the destination, then press ⌥⌘V. This final shortcut moves the item instead of copying it, which is the Finder version of Cut and Paste.
A common Finder error
Pressing ⌘Delete moves items to the Trash but does not erase them. They stay recoverable until you empty the Trash with ⇧⌘Delete. Emptying is permanent, so check the Trash first.
A short workflow
The diagram shows a typical keyboard-only path from a search to a renamed file.
Exercise
You select a file in Finder and press Return, expecting it to open. What happens instead, and which shortcuts open it?
Show answer
Return puts the file name into rename mode. To open the file, press ⌘O or ⌘↓.
Exercise
Which keystrokes show a file found in Spotlight inside its folder in Finder, then preview it without opening an app?
Show answer
Press ⌘Space, type the name, press ⌘↩ to reveal it in Finder, then press Space for Quick Look.