CSC-105

LibraryMac shortcuts

Mac shortcuts

A short list of keyboard shortcuts and window tricks that make everyday computer work faster. Learn a few at a time. Each one you commit to muscle memory saves you a hundred trips to the mouse.

Using Windows? See Windows shortcuts.

The keys

Mac shortcuts are built around the Command key (⌘), not Control. Menus show the symbols, so it helps to know them.

SymbolKey
⌘Command, next to the space bar
⌥Option (also called Alt)
⌃Control
⇧Shift
🌐 / fnGlobe or fn, bottom-left corner
⌫Delete (the backspace key)

Learn these first

What you wantPress
CopyCommand + C
PasteCommand + V
CutCommand + X
UndoCommand + Z
RedoShift + Command + Z
Select allCommand + A
SaveCommand + S
Find on this pageCommand + F
Switch between appsCommand + Tab (see below)
Search your Mac (Spotlight)Command + Space, then type

Paste without formatting: Shift + Option + Command + V. Use it when pasting from a web page or a chat into a document so you do not drag along fonts and colors.

Switching between apps and windows

Command + Tab is the fastest way to move between apps.

  • Hold Command, then tap Tab to step through your open apps. Let go of Command to switch.
  • Hold Command and tap Tab once to jump straight back to the app you were just in.
  • Keep holding Command and press Q on a highlighted app to quit it.
What you wantPress
Switch to another appCommand + Tab
Switch between windows of the same appCommand + ` (the key above Tab)
See every open window at onceControl + Up arrow or swipe up with three fingers
Hide the current appCommand + H
Minimize the window to the DockCommand + M
Close the window or tabCommand + W
Quit the app entirelyCommand + Q
Open a new windowCommand + N
Force a frozen app to quitOption + Command + Esc

Command + W closes the window. Command + Q quits the whole app. They are next to each other on the keyboard, so double-check before you press Q.

Side-by-side windows

You will often want two things visible at once: a chat with an AI model on one side and your editor or browser on the other.

With the mouse:

  1. Drag a window to the left or right edge of the screen until you see an outline, then let go. It fills that half.
  2. Do the same with a second window on the other side.

Or hover your pointer over the green button in the top-left corner of a window and pick Left or Right from the menu that appears.

With the keyboard (macOS Sequoia or newer):

What you wantPress
Fill the left halfGlobe + Control + Left arrow
Fill the right halfGlobe + Control + Right arrow
Fill the whole screenGlobe + Control + F
Put it back where it wasGlobe + Control + R

You can also use the Window menu at the top of the screen → Move & Resize.

If you want to move a window from one side to the other, press the opposite shortcut. To go full screen (hides the menu bar), click the green button once. Press the green button again, or Esc, to leave.

Editing text

These work in almost every app: browsers, chat windows, Zed, Cursor, TextEdit.

What you wantPress
Jump to the start or end of the lineCommand + Left / Right arrow
Jump one word at a timeOption + Left / Right arrow
Jump to the top or bottomCommand + Up / Down arrow
Select while you jumpHold Shift with any of the above
Delete the previous wordOption + Delete
Delete back to the start of the lineCommand + Delete
Select a wordDouble-click it
Select a whole paragraphTriple-click it
Insert an emojiGlobe key, or Control + Command + Space

Selecting text to copy: click where you want to start, then hold Shift and click where you want to end. Everything in between is selected. This beats dragging across a long chat response.

The browser

These work in Chrome, Safari, Arc, and Edge.

What you wantPress
Go to the address barCommand + L, then type
New tabCommand + T
Close the tabCommand + W
Reopen the tab you just closedShift + Command + T
Move between tabsControl + Tab and Control + Shift + Tab
Jump to a specific tabCommand + 1 through Command + 9
Reload the pageCommand + R
Zoom in, out, or resetCommand + Plus, Command + Minus, Command + 0
Find text on the pageCommand + F
Open a link in a new tabHold Command and click the link
Private (incognito) windowShift + Command + N
Scroll down one screenSpace bar

Finder and files

What you wantPress
Open FinderClick the smiling face in the Dock, or Command + Tab to it
New folderShift + Command + N
Rename the selected fileReturn, type the name, Return
Open the selected fileCommand + Down arrow or Command + O
Go up to the parent folderCommand + Up arrow
Preview a file without opening itSpace bar
Move to TrashCommand + Delete
DuplicateCommand + D
Get info (size, kind, location)Command + I
Show hidden filesShift + Command + .

Pressing Return does not open a file. It renames it. To open, double-click or press Command + Down arrow.

See file extensions. In Finder, choose Finder → Settings → Advanced and check Show all filename extensions. This course cares about the difference between notes.md, notes.txt, and notes.html, so keep this on.

Find where a file lives. Select it and press Command + I, then look at Where. Or right-click the filename in the window's title bar to see the full path.

Everything else

What you wantPress
Take a screenshotShift + Command + 4 — see Take a screenshot
Lock the screenControl + Command + Q
Open the app's settingsCommand + ,
Open TerminalCommand + Space, type terminal, Return
Zip a folderRight-click → Compress — see Create a zip folder

Common mistakes

  • Using Control instead of Command. On a Mac, Control + C does nothing useful in most apps. Copy is Command + C.
  • Quitting instead of closing. Command + Q closes every window and quits the app. Command + W closes just the one window or tab.
  • Losing a window. If a window vanished, it is probably hidden (Command + H) or minimized. Command + Tab to the app and it comes back, or click the app in the Dock.
  • The app is open but there is no window. Press Command + N to open a new one.
  • Shortcut does nothing. Most shortcuts only act on the app that is in front. Click the window first, then press the keys.