The macOS Setup Guide

Appendix C — Keyboard shortcuts

Modifier symbols, as printed on Apple keyboards and used throughout this guide: ⌘ Command · ⌥ Option (Alt) · ⌃ Control · ⇧ Shift · fn / 🌐 Globe · ⇪ Caps Lock · ⎋ Escape · ⌫ Delete (Backspace) · ⌦ Forward Delete (fn ⌫) · ↩ Return · ⇥ Tab · ⇞⇟ Page Up/Down (fn ↑↓) · ↖↘ Home/End (fn ←→).

Everything below is a default unless marked (set up in ch. N). Change any system shortcut in System Settings → Keyboard → Keyboard Shortcuts; add app-menu shortcuts under App Shortcuts (type the exact menu item name).

System#

ShortcutAction
⌘SpaceSpotlight (or Raycast/Alfred if you swapped them — ch. 4)
⌘⇧SpaceVisual Intelligence (macOS 27) / Siri type-to
⌘Tab, ⌘⇧TabNext / previous app (hold ⌘, tap Tab, Q to quit the highlighted app, H to hide, ↑/↓ to see its windows)
⌘`, ⌘⇧`Next / previous window of the current app
⌘Q / ⌘W / ⌘⇧WQuit / close window or tab / close all windows
⌘H / ⌘⌥HHide app / hide all others
⌘M / ⌘⌥MMinimize / minimize all
⌘N / ⌘T / ⌘O / ⌘S / ⌘PNew window / new tab / open / save / print
⌘,App settings
⌘? (⌘⇧/)Help menu with search — finds any menu item by name and points at it
⌥⌘⎋Force Quit dialog
⌃⌘QLock screen
⌥⌘⏏ / ⌃⇧⏻Sleep / put displays to sleep (no eject key: ⌃⇧ + power)
⌃⌘⏻Force restart (hold)
⌘⌥⌃⏻Quit all apps and shut down (hold)
fn / 🌐Tap: emoji picker or Dictation or nothing (configurable). Hold + letter: fn E emoji · fn Q Quick Note · fn C Control Center · fn N Notification Center · fn D Dictation · fn F fullscreen · fn A Dock · fn M menu bar · fn H desktop
⌃⌘SpaceCharacter viewer (emoji & symbols)
⌘⌥DToggle Dock hiding
⌃F2 / ⌃F3 / ⌃F8Focus menu bar / Dock / status menus (then arrows + Return)
⌘⌥⌃T(App Shortcut you can add) — e.g. new Ghostty window
⌥ + volume/brightness keyOpen Sound / Displays settings
⇧⌥ + volume/brightness keyQuarter-step adjustments
⌥ + click Wi-Fi/Bluetooth/Sound menu iconDiagnostic details
⌘⌥⌃8Invert colors (enable in Accessibility → Keyboard → Shortcut)
⌥⌘F5Accessibility shortcuts panel
⌃⌥⌘⇧ (hyper) + keyYour Hammerspoon/Karabiner layer (set up in ch. 5, ch. 21)

Windows, Spaces, tiling#

ShortcutAction
⌃↑ / ⌃↓Mission Control / App Exposé (current app's windows)
⌃← / ⌃→Previous / next Space
⌃1…⌃9Jump to Space N (enable in Keyboard Shortcuts → Mission Control)
F11 (or fn F11)Show desktop
⌃⌘F / fn FFull screen toggle
Green button hover / fn ⌃FTiling menu / fill
fn ⌃← / fn ⌃→Tile left / right half (macOS 15+ built-in)
fn ⌃↑ / fn ⌃↓Tile top / bottom
fn ⌃⇧← / fn ⌃⇧→Arrange left & right (two windows)
fn ⌃RReturn to previous size
fn ⌃CCenter
⌥ + green buttonZoom (maximize without full screen)
⌘ + dragMove a background window without focusing it
⌃⌘ + drag anywhere in a windowMove window (with NSWindowShouldDragOnGesture from the defaults script)
Double-click title barZoom or minimize (Desktop & Dock setting)
⌥⌘W on a window edge(Rectangle) — defaults are ⌃⌥← ⌃⌥→ halves, ⌃⌥↩ maximize, ⌃⌥C center, ⌃⌥⌘←/→ next display
⌥H/J/K/L(AeroSpace default) focus left/down/up/right; ⌥⇧ + same to move; ⌥1–9 workspaces; ⌥/ toggle tiles/accordion — ch. 6

Finder#

ShortcutAction
⌘N / ⌘T / ⌘⇧NNew window / new tab / new folder
⌘↑ / ⌘↓ / ⌘OEnclosing folder / open selection
⌘[ / ⌘]Back / forward
⌘⇧GGo to Folder — type or paste a path; ~, /, and Tab-completion work
⌘⇧.Toggle hidden files
⌘⇧H / ⌘⇧D / ⌘⇧O / ⌘⌥L / ⌘⇧A / ⌘⇧U / ⌘⇧C / ⌘⇧K / ⌘⇧I / ⌘⇧RHome / Desktop / Documents / Downloads / Applications / Utilities / Computer / Network / iCloud Drive / AirDrop
⌘1 / ⌘2 / ⌘3 / ⌘4Icon / List / Column / Gallery view
⌘JView options for this folder (set as default here)
⌘⌥P / ⌘/ / ⌘⌥S / ⌘⌥TToggle path bar / status bar / sidebar / toolbar
Space / ⌥SpaceQuick Look / full-screen Quick Look
⌘YQuick Look (alternate)
⌘I / ⌘⌥IGet Info / Inspector (updates with selection)
⌘DDuplicate
⌘LMake alias
⌘⌫ / ⌘⇧⌫ / ⌘⌥⇧⌫Move to Trash / empty Trash / empty without confirmation
⌘⌥VMove (after ⌘C) — cut-and-paste files
⌘⌥CCopy pathname of selection
↩Rename selection
⌘EEject
⌘FSearch (current folder first — set in Finder settings)
⌘⌃N (with selection)New Folder with Selection
⌘⇧PPreview pane
⌥ + double-clickOpen in new window and close current
⌘ + double-click folderOpen in new tab
⌥⌘ + dragMake alias; ⌥ + drag = copy; ⌘ + drag = move (across volumes)
Drag file onto the title-bar icon of an Open dialogJump the dialog to that file's folder
Drag any file into a Terminal windowInserts its quoted path

Text editing (works in every Cocoa text field)#

These come from the Cocoa text system (Emacs bindings via ~/Library/KeyBindings/DefaultKeyBinding.dict, ch. 5). They work in Safari's address bar, Mail, Notes, Xcode, Slack, VS Code (mostly), and the Terminal.

ShortcutAction
⌘← / ⌘→Start / end of line
⌥← / ⌥→Word left / right
⌘↑ / ⌘↓Start / end of document
⌥↑ / ⌥↓Start of paragraph / end of paragraph
⌥⌫ / ⌥⌦Delete word backward / forward
⌘⌫Delete to start of line
⌃A / ⌃EStart / end of line (Emacs)
⌃F / ⌃B / ⌃N / ⌃PForward / back / next line / previous line
⌃D / ⌃HForward delete / backspace
⌃KKill to end of line (into the Emacs kill buffer, separate from the clipboard); ⌃Y yank
⌃OInsert newline after cursor
⌃TTranspose characters
⌃LCenter cursor line in view
⇧ + any motionExtend selection
⌘⇧VPaste and match style
⌘⌥⇧VPaste plain text (some apps)
⌘Z / ⌘⇧ZUndo / redo
⌘;Next misspelling; ⌘: spelling panel
⌃⌘DLook up word under cursor (dictionary/Wikipedia popover); also force-click
fn fn (or fn D)Dictation
⌥E + vowel, ⌥N + n, ⌥U + vowel, ⌥\ + vowel, ⌥C, ⌥I` + letterAccents: é ñ ü è ç î — or hold the key (unless ApplePressAndHoldEnabled is off)
⌥8 / ⌥- / ⌥⇧- / ⌥; / ⌥[ ⌥⇧[ / ⌥] ⌥⇧] / ⌥⇧K / ⌥G / ⌥R / ⌥2 / ⌥⇧8 / ⌥= / ⌥< ⌥> / ⌥/• – — … " " ' ' ©® ™ ° ≠ ≤ ≥ ÷

Screenshots and recording#

ShortcutAction
⌘⇧3Full screen → file
⌘⇧4Selection → file. Then: Space window mode (click a window; hold ⌥ for no shadow); hold Space while dragging to move selection; ⇧ locks an edge; ⌥ resizes from center; ⎋ cancels
⌘⇧5Screenshot/recording toolbar: options for timer, save location, mic, show cursor
⌘⇧6Touch Bar (legacy)
⌃ + any of the aboveTo clipboard instead of file
⌘⇧4 then Space then ⌘ + click menuCapture a menu with its title
Click the floating thumbnailMarkup; drag it into any app
⌘⇧C in Shottr (if installed)Capture area with pixel measurement/OCR — ch. 19

Spotlight (macOS 26/27)#

ShortcutAction
⌘SpaceOpen. Type to search; results are mixed
⌘1 / ⌘2 / ⌘3 / ⌘4Applications / Files / Actions / Clipboard views
⌘↩Reveal in Finder
⌘IInfo about result
⌘CCopy result (file or answer)
⌘LJump to the definition/first result
⇥Preview pane / expand
⌘BSearch the web instead
⌥⌘SpaceFinder search window
Type a quick key, e.g. sm → Send MessageQuick keys for actions (assign in Spotlight → Actions)
= or just type mathCalculator; unit/currency conversion (100 usd in eur)

Raycast defaults (if installed): ⌥Space (or swapped with Spotlight) open · ⌘K actions on a result · ⌥⌘C clipboard history · ⌥⌘N notes · ⌃⌥←/→ window halves · ⌘, settings.

Safari#

ShortcutAction
⌘LAddress bar
⌘T / ⌘W / ⌘⇧TNew / close / reopen closed tab
⌃Tab / ⌃⇧Tab or ⌘⇧] / ⌘⇧[Next / previous tab
⌘1–⌘9Jump to tab N (or bookmarks if that setting is on)
⌘⇧NNew private window
⌘⇧\Tab overview
⌘⇧LSidebar (Tab Groups, bookmarks, reading list)
⌘⇧RReader view
⌘⌥RReload ignoring cache
⌘⌥IWeb Inspector (Develop menu on — defaults script)
⌘⌥CConsole
⌘⌥UView source
⌘⌥EEmpty caches
⌘⇧DAdd bookmark
⌘DAdd to Reading List (varies)
⌘⇧FFull screen
⌘F / ⌘GFind / find next
Space / ⇧SpacePage down / up
⌘↑ / ⌘↓Top / bottom
⌘+ / ⌘- / ⌘0Zoom
⌘⌥FSearch Google from anywhere
⌘⇧IEmail link
⌥ + click linkDownload
⌘ + clickOpen in background tab
⌘⇧ + clickOpen in foreground tab

Chrome/Firefox share most; Firefox uses ⌘⌥I for DevTools too, Chrome ⌘⌥J for console.

Terminal.app / Ghostty / iTerm2#

ShortcutAction
⌘T / ⌘W / ⌘NTab / close / window
⌘D / ⌘⇧DSplit right / down (Ghostty: ⌘D ⌘⇧D; iTerm2: ⌘D ⌘⇧D; Terminal.app: ⌘D only splits the same session)
⌘⌥←→↑↓Focus split (Ghostty)
⌘KClear scrollback
⌘FSearch scrollback
⌘+ / ⌘- / ⌘0Font size
⌘1–⌘9Tab N
⌘⇧↩Zoom split (Ghostty)
⌘⇧,Reload config (Ghostty)
⌘⌃FFullscreen
⌘⇧Q (Ghostty)Toggle quick terminal (set up in ch. 9)
⌥← / ⌥→Word jump (Option as Meta / macos-option-as-alt = true)
⌥ + clickMove cursor in the shell line
⌘ + double-click URL / ⌘ + clickOpen link
⌘⇧PCommand palette (Ghostty 1.2+)
Shell (zsh): ⌃Rfzf history search (ch. 9)
⌃T / ⌥Cfzf file / directory picker
⌃A ⌃E ⌃U ⌃K ⌃W ⌃Y ⌃L ⌃C ⌃D ⌃ZLine start/end · kill to start/end · kill word · yank · clear · interrupt · EOF · suspend (fg to resume)
⌃X ⌃EEdit the current command line in $EDITOR
⌃_Undo (zsh line editor)
⎋ . (or ⌥.)Insert last argument of previous command
!!, !$, !*, ^old^newHistory expansion: last command / its last arg / all args / substitute
tmux (prefix ⌃B or ⌃A): c n p % " o z d [ snew window · next · prev · split v · split h · next pane · zoom · detach · copy mode · session list

VS Code (macOS keymap)#

ShortcutAction
⌘⇧P / F1Command Palette
⌘PQuick Open file; type : for line, @ for symbol, > for command, # for workspace symbol
⌘⇧OGo to symbol
⌘TGo to symbol in workspace
⌘B / ⌘J / ⌘⇧E / ⌘⇧F / ⌘⇧G / ⌘⇧D / ⌘⇧XSidebar / panel / Explorer / Search / Source Control / Debug / Extensions
⌃` / ⌃⇧`Terminal / new terminal
⌘\ / ⌘1 ⌘2Split editor / focus group
⌘K ⌘W / ⌘WClose all / close
⌘⇧TReopen closed editor
⌃- / ⌃⇧-Navigate back / forward
F12 / ⌥F12 / ⇧F12 / ⌘F12Definition / peek / references / implementation
F2Rename symbol
⌘.Quick fix / code actions
⌘⇧K / ⌥↑↓ / ⇧⌥↑↓Delete line / move line / copy line
⌘D / ⌘⇧L / ⌘UAdd selection to next match / select all matches / undo last cursor
⌥ + click / ⌥⌘↑↓Multiple cursors
⌘⇧\Jump to matching bracket
⌘K ⌘F / ⇧⌥FFormat selection / document
⌘/ / ⇧⌥AToggle line / block comment
⌘K ⌘0 / ⌘K ⌘JFold all / unfold all
⌘K ZZen mode
⌘⇧V / ⌘K VMarkdown preview / to the side
⌘K ⌘SKeyboard shortcuts editor
⌘K ⌘TColor theme
⌘I / ⌘⇧I / ⌃⌘IInline chat / agent panel / chat (Copilot/Cursor vary — ch. 12)
F5 / F9 / F10 / F11Debug start / breakpoint / step over / step into
⌘⇧MProblems panel
⌘K MChange language mode

Cursor: same base, plus ⌘K inline edit, ⌘L chat, ⌘I composer/agent. Zed: ⌘⇧P palette, ⌘T project symbols, ⌘P files, ⌘⇧R inline assist, ⌘? AI panel. JetBrains: ⇧⇧ search everywhere, ⌘O class, ⌘⇧O file, ⌥↩ intention, ⌘⌥L reformat, ⇧F6 rename, ⌘E recent.

Startup (Apple silicon)#

DoResult
Press and hold power until "Loading startup options"Recovery / startup disk chooser
From options: select disk → hold ⇧ → Continue in Safe ModeSafe Mode
From options: ⌘DApple Diagnostics
Options → Continue → Utilities → TerminalRecovery Terminal (resetpassword, diskutil)
⌘R, ⌘⌥R, ⌘⌥P R, ⇧⌃⌥+powerDo nothing on Apple silicon (Intel-era key combos) — see ch. 22

Making your own#

  • System Settings → Keyboard → Keyboard Shortcuts → App Shortcuts → +: pick an app (or All Applications), type the exact menu item text (including … via ⌥;), press keys. This is how you give any menu command a shortcut without a third-party tool.
  • Shortcuts app → any Shortcut → ⓘ → Add Keyboard Shortcut: global hotkeys for automations (ch. 21).
  • Karabiner-Elements: Caps Lock → Escape when tapped / Hyper when held; swap ⌥/⌘ for PC keyboards; per-device rules (ch. 5).
  • Hammerspoon: hs.hotkey.bind(hyper, "t", …) for anything Lua can do (ch. 21).
  • Conflict check: ⌘Space (Spotlight vs Raycast vs input source switch), ⌃Space (input source vs editor completion), ⌘⇧Space (Visual Intelligence vs Raycast defaults), ⌃←→ (Spaces vs terminal word jump — use ⌥←→ in the terminal instead), F11 (Show Desktop vs debugger step) — disable the system side in Keyboard Shortcuts if an app needs the key.

View this chapter as Markdown · Edit on GitHub

Last reviewed September 2026. Written for macOS 26 Tahoe and macOS 27 Golden Gate on Apple silicon Macs. Prices are US list prices. Text is CC BY 4.0; code and configs are MIT.