Sub topic 19
Keyboard shortcuts worth learning
This chapter covers the shortcuts that speed up file management in the Finder. It assumes you can already open Finder windows, create folders, and move and copy items with the mouse. Earlier chapters showed those actions through menus and dragging. Here you will learn the keyboard equivalents and where they can go wrong.
Why learn shortcuts at all
A shortcut saves a few seconds each time. Across hundreds of file operations a week, that adds up. Shortcuts also keep your hands on the keyboard while you rename, move and tag items in sequence.
You don't need to memorise everything. Pick the handful you use most, practise them for a week, then add more.
The shortcuts below use these modifier symbols:
- Command (⌘)
- Shift (⇧)
- Option (⌥)
- Control (⌃)
Creating, opening and naming
| Shortcut | What it does |
|---|---|
| Shift-Command-N | Creates a new folder in the current window |
| Return | Starts renaming the selected item |
| Command-O | Opens the selected item |
| Command-Down Arrow | Opens the selected item (in Column view, it opens a file or folder) |
| Command-Up Arrow | Goes up one level to the enclosing folder |
| Command-I | Opens the Get Info window for the selected item |
| Command-N | Opens a new Finder window |
| Command-T | Opens a new Finder tab |
Pressing Return on a selected item does not open it. It puts the name into edit mode. Type the new name and press Return again to confirm. Press Escape to cancel the rename.
If you use Shift-Command-N while a window shows search results, the new folder may land somewhere unexpected, such as your Desktop. Check the location before you start filling it.
Moving, copying and duplicating
| Shortcut | What it does |
|---|---|
| Command-C, then Command-V | Copies the item, then pastes the copy in the current folder |
| Command-C, then Option-Command-V | Copies the item, then moves it (a cut-and-paste) to the current folder |
| Command-D | Duplicates the selected item in the same folder |
| Option-Command-drag | Creates an alias while you drag |
| Command-Delete | Moves the selected item to the Trash |
| Shift-Command-Delete | Empties the Trash, after a confirmation |
| Option-Shift-Command-Delete | Empties the Trash without a confirmation |
Finder has no plain Command-X for files. Use Command-C, then Option-Command-V in the destination. The word "Move" appears in the Edit menu once you hold Option, which confirms the command.
A duplicate made with Command-D gets the word "copy" added to its name. If you duplicate again, Finder numbers the copies ("copy 2").
Be careful with Option-Shift-Command-Delete. It skips the warning, and emptying the Trash is permanent.
Looking without opening
| Shortcut | What it does |
|---|---|
| Space bar | Opens or closes Quick Look for the selected item |
| Option-Space bar | Opens Quick Look in full screen |
| Command-J | Opens View Options for the current folder |
| Command-1, 2, 3, 4 | Switches to Icon, List, Column or Gallery view |
| Option-Command-P | Shows or hides the path bar |
| Option-Command-S | Shows or hides the sidebar |
Quick Look works on the current selection. With several items selected, press the arrow keys to move between them. In Icon view, Quick Look also lets you page through a group of selected files.
Learn Command-1 to Command-4 as a set. When you land in a folder full of photos, Command-4 gives you Gallery view, and Command-2 gets you back to a sortable list.
Getting around
| Shortcut | What it does |
|---|---|
| Command-[ | Goes back to the previous folder |
| Command-] | Goes forward |
| Shift-Command-H | Opens your Home folder |
| Shift-Command-D | Opens the Desktop |
| Shift-Command-O | Opens Documents |
| Shift-Command-L | Opens Downloads |
| Shift-Command-I | Opens iCloud Drive |
| Shift-Command-G | Opens Go to Folder, where you can type a path |
| Shift-Command-Period | Shows or hides hidden files |
Go to Folder accepts paths such as ~/Documents/Projects. It also autocompletes as you type, so you rarely need the whole path.
The last shortcut in the table is the quick way to reveal hidden items. The defaults write command from the earlier hidden-files chapter changes the same setting permanently. Use the shortcut for a quick look, and use the command only if you want hidden files always visible.
Selecting
| Shortcut | What it does |
|---|---|
| Command-A | Selects everything in the window |
| Command-click | Adds or removes a single item from the selection |
| Shift-click | Selects a continuous range |
| Option-Command-A | Deselects everything |
| Type letters | Jumps to the first item whose name starts with them |
Typing letters is a useful trick in a long list. Type "inv" quickly and the selection jumps to "Invoices". Type slowly and each letter starts a new search, so keep the gap short.
Working with tabs
| Shortcut | What it does |
|---|---|
| Command-T | Opens a new tab |
| Command-W | Closes the current tab or window |
| Control-Tab | Moves to the next tab |
| Control-Shift-Tab | Moves to the previous tab |
| Shift-Command-\ | Shows all tabs at once |
A common workflow is to open the source folder in one tab and the destination in another. Select your files, press Command-C, switch tabs with Control-Tab, and press Option-Command-V to move them.
Make your own shortcut
You can assign a keyboard shortcut to any menu command in the Finder.
- Open System Settings and choose Keyboard.
- Click Keyboard Shortcuts, then App Shortcuts.
- Click the plus button and choose Finder as the application.
- Type the exact menu title, for example
Add Tags…. - Press the keys you want, then click Add.
The menu title must match exactly, including the ellipsis character. A typo is the most common reason a custom shortcut fails. Pick combinations that do not clash with existing ones. Include Command and one more modifier to reduce the chance of conflicts.
Common errors
- Return opens nothing. It renames. Use Command-O to open.
- Command-Delete asks for nothing and the file vanishes. It only goes to the Trash. Open the Trash and use Put Back to restore it.
- Shortcuts do nothing. Check that the Finder is the frontmost app, and that you aren't still editing a name.
- Shift-Command-N creates a folder in the wrong place. Check the window's location first.
- Option-Command-V is greyed out. You must copy an item first. The command also works only when the source and destination are on a drive where you can write.
Exercise
You have copied a report from Downloads with Command-C. You are now in the project folder and want the original to disappear from Downloads. Which shortcut do you press, and why not Command-V?
Show answer
Press Option-Command-V. Command-V pastes a second copy and leaves the original in Downloads. Option-Command-V moves the item, so the original is removed from its old location.
Exercise
Write the keyboard sequence, starting in any Finder window, that creates a new folder named "Archive" in your Documents folder and leaves you ready to rename nothing else.
Show answer
Press Shift-Command-O to open Documents. Press Shift-Command-N to create a new folder. The name field is already in edit mode, so type "Archive" and press Return.