Sub topic 2
Core editing shortcuts you will use every hour
This chapter assumes you know the four modifier symbols (⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift) and how a shortcut such as ⇧⌘Z is read. It also assumes you can open apps and documents. If a shortcut is written as ⌥⇧⌘V, hold all three modifiers, then press V.
By the end you will be able to copy, cut, paste, undo, redo, search and save without the mouse. You will also know where these shortcuts behave differently from what you expect.
The core set
These nine shortcuts work in almost every Mac app, from Notes and Mail to Safari and Xcode.
⌘C Copy
⌘X Cut
⌘V Paste
⌥⇧⌘V Paste and Match Style
⌘Z Undo
⇧⌘Z Redo
⌘A Select All
⌘F Find
⌘S SaveThe letters are mostly mnemonic: C for Copy, F for Find, S for Save, A for All. The exceptions are X and V. They sit next to C on the keyboard, so the clipboard shortcuts form a row you can press with one hand.
| Shortcut | Action | What it changes |
|---|---|---|
| ⌘C | Copy | Puts a duplicate of the selection on the clipboard. The original stays. |
| ⌘X | Cut | Puts the selection on the clipboard and removes it from the document. |
| ⌘V | Paste | Inserts the clipboard contents at the cursor or over the selection. |
| ⌘Z | Undo | Reverses your last change. |
| ⇧⌘Z | Redo | Reapplies a change you just undid. |
| ⌘A | Select All | Selects everything in the active document, field or folder. |
| ⌘F | Find | Opens the search field for the current document or page. |
| ⌘S | Save | Writes the document to disk. |
How the clipboard works
The clipboard is a temporary holding area managed by macOS. Copy and Cut write to it. Paste reads from it without emptying it, so you can paste the same content as many times as you like.
Three properties of the clipboard cause most surprises:
- It holds one item. A new copy replaces the old contents. macOS has no built-in clipboard history, so a second ⌘C erases the first.
- It can hold several formats at once. When you copy styled text, the clipboard stores plain text, fonts and colors together. Each app decides which version to paste.
- It can cross devices. With Universal Clipboard, you can copy on a nearby iPhone or iPad and paste on the Mac. Both devices need the same Apple Account, Wi-Fi, Bluetooth and Handoff turned on. The content stays available only briefly.
Paste and Match Style
Plain ⌘V usually keeps the formatting of the source. Paste a paragraph from a web page into an email, and you can get a different font, size and a gray background. ⌥⇧⌘V (Paste and Match Style) inserts the text with the formatting of the destination.
⌘V Paste, keeping source formatting where the app allows it
⌥⇧⌘V Paste and Match Style: take on the formatting around the cursorUse it by default when you move text between apps. The three keys are awkward at first, but the habit saves you from selecting pasted text and clearing its formatting by hand.
Some apps use a different shortcut for plain-text paste. Terminal, plain-text editors and some web editors paste plain text anyway. A few apps use ⌥⇧⌘V for something else or only offer a menu item. Check the Edit menu when it does nothing.
Undo and redo
⌘Z reverses your last change. Press it again to step back through earlier changes. ⇧⌘Z moves forward again through changes you undid.
The depth of the undo history depends on the app. Text editors usually keep many steps. Some apps group typing into chunks, so one ⌘Z can remove a whole phrase rather than one letter. Closing a document normally clears its undo history, so you cannot undo after you close and reopen it.
Undo works beyond text:
- In Finder, ⌘Z reverses file operations such as renaming, moving to Trash and copying.
- In Photos and many creative apps, it reverses edits.
- In Mail and Notes, it can bring back deleted text.
Undo does not reverse everything. Emptying the Trash, sending an email and quitting without saving cannot be undone. Some apps offer a short "Undo Send" window as a separate feature.
A practical way to use undo and redo together is to compare versions. Make a change, press ⌘Z to see the old state, then ⇧⌘Z to see the new one. You can do this as often as you like until you make a new edit. A new edit discards the redo history.
Select All
⌘A selects everything in the current context. The context decides what "everything" means:
- In a text document or text field, it selects all the text.
- In Finder, it selects all items in the current folder window.
- In Safari, it selects the whole page content, but only the page and not the address bar.
- In a spreadsheet, it selects all cells, often with a second press covering the whole sheet.
The selection follows keyboard focus. If you click in the address bar and press ⌘A, you select the URL, not the page. If a shortcut seems to act on the wrong thing, click the area you mean first.
A common combination is ⌘A then ⌘C to copy a whole document, or ⌘A then ⌘V to replace everything with the clipboard.
Find
⌘F opens the search field. In most apps it searches within the current document, page or folder view. Related shortcuts step through matches:
⌘F Find
⌘G Find next match
⇧⌘G Find previous match
⌘E Use selection for Find⌘E is a time saver. Select a word, press ⌘E, then press ⌘G to jump to the next occurrence. You do not need to type the word into the search field. In Safari and many other apps, Escape closes the search bar.
Not every ⌘F is the same. In Finder, ⌘F searches files and folders. In Mail it searches mailboxes. In a code editor it searches the open file, and a related shortcut (often ⇧⌘F) searches the whole project. Check what the search is scoped to before you trust a "no results" message.
Save
⌘S saves the document. Many modern Mac apps, including TextEdit, Pages and Preview, autosave your work and keep earlier versions. In those apps, ⌘S still helps: it names a new document on the first press and records a version you can browse later.
Related shortcuts:
⌘S Save
⇧⌘S Save As, or Duplicate in apps that autosave
⌘P Print
⌘W Close windowIn apps that autosave, the Save As command is hidden. Hold Option while you open the File menu, and Duplicate changes to Save As. Apps that do not autosave, such as many Microsoft Office or code-editing apps, use ⌘S to write changes to disk. Get in the habit of pressing it after every meaningful edit. It is a quick tap and it limits what you lose in a crash.
Moving files with the clipboard in Finder
⌘C and ⌘V also work on files in Finder. Select a file, press ⌘C, open another folder and press ⌘V. This makes a copy.
Finder does not offer Cut for files in the usual way. To move a file, copy it with ⌘C, go to the destination, then press ⌥⌘V. Finder labels this "Move Item Here" and it appears in the Edit menu only after you hold Option. The original is removed from its old location.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Pasted text has a strange font | Source formatting came along | Use ⌥⇧⌘V or the app's plain-text paste |
| ⌘V pastes the old content | The copy did not happen, or you copied something else in between | Copy again and paste right away |
| ⌘Z does nothing | The undo history is empty, or focus is in another area | Click the content, then try again |
| ⌘A selects the wrong thing | Keyboard focus is in a different field | Click inside the target area first |
| ⌘F searches the wrong scope | The app's search covers files, mail or a project | Read the placeholder text in the search field |
| ⌘X does not work on a file | Finder lacks Cut for files | Copy, then use ⌥⌘V at the destination |
Practice routine
Learn these in small groups. Start with copy, paste and undo for a day, because they have the highest payoff. Add Select All and Find the next day, then Paste and Match Style. Each time you reach for the mouse to open the Edit menu, look at the shortcut next to the item and use it once.
Exercise
You copy a heading from a web page, then paste it into an email and the font and background color do not match your message. Which shortcut would insert the text with the formatting of the email instead, and what do you do if it has no effect in that app?
Show answer
Use ⌥⇧⌘V (Paste and Match Style). If nothing happens, open the app's Edit menu and look for a plain-text or "match style" paste item and the shortcut printed beside it. Some apps use ⇧⌘V instead.
Exercise
In Finder you copied a file with ⌘C and want it moved, not duplicated, into another folder. What do you press in the destination folder?
Show answer
Press ⌥⌘V (Move Item Here). It moves the file and removes the original. Plain ⌘V would leave a copy in both places.
Exercise
You type a sentence, press ⌘Z twice, then type a new word. Can you now bring back the text you undid with ⇧⌘Z? Explain why or why not.
Show answer
No. Typing a new edit after undoing discards the redo history, so ⇧⌘Z has nothing to reapply. To keep both versions, press ⇧⌘Z before making the new edit.