Overview

Modifier key symbols: Cmd (Command) = , Opt (Option/Alt) = , Ctrl = ^, Shift = , Fn = fn. All shortcuts below use these symbols. For terminal-specific shortcuts, see bash-one-liners. For editor shortcuts, see keyboard-shortcuts-vscode.

Finder shortcuts

ShortcutAction
⌘ NNew Finder window.
⌘ TNew tab in the same window.
⌘ ⇧ NNew folder.
⌘ O or ⌘ ↓Open selected item.
⌘ ↑Go to the parent folder.
⌘ [ / ⌘ ]Go back / forward.
⌘ ⇧ GGo to folder (type any path, supports ~ and /).
⌘ ⇧ HGo to Home folder.
⌘ ⇧ DGo to Desktop.
⌘ ⇧ AGo to Applications.
⌘ ⇧ UGo to Utilities.
SpaceQuick Look preview of selected item.
⌘ IGet Info (file metadata, permissions).
⌘ DeleteMove to Trash.
⌘ ⇧ DeleteEmpty Trash (with confirm).
ReturnRename selected file (press Return again to confirm).
⌘ DDuplicate selected item.
⌘ LMake alias.
⌥ dragCopy instead of move on drag.
⌘ ⇧ .Toggle hidden files visibility (macOS 10.12+).

Screenshot shortcuts

ShortcutWhat it capturesOutput
⌘ ⇧ 3Full screen.File on Desktop.
⌘ ⇧ 4Drag to select region.File on Desktop.
⌘ ⇧ 4 then SpaceClick to capture window/menu.File on Desktop.
⌘ ⇧ 5Screenshot toolbar (video, region, options).Configurable.
⌘ ⇧ 6Touch Bar (MacBooks with Touch Bar).File on Desktop.
Add ^ (Ctrl) to any aboveSame as above but copies to clipboard instead of saving.Clipboard only.
⌘ ⇧ 4 → Space → click window  # Window-only capture with shadow
^ ⌘ ⇧ 4                        # Region capture to clipboard (paste into Slack, etc.)

Window management

ShortcutAction
⌘ TabApp switcher (hold, press Tab to cycle).
⌘ `` “ `Cycle windows of the same app.
⌘ WClose the current window/tab.
⌘ ⌥ WClose all windows of the current app.
⌘ QQuit the current app.
⌘ ⌥ EscForce Quit dialog.
⌘ HHide the current app.
⌘ ⌥ HHide all other apps.
⌘ MMinimize window to Dock.
^ ↑Mission Control (all windows).
^ ↓App Expose (all windows of current app).
^ ← / ^ →Move to adjacent Space (virtual desktop).
^ 1^ 9Jump to a numbered Space.
fn F or green buttonEnter full screen.
Hold click green buttonTile window to half screen.

Text editing (universal)

These work in any text field across macOS applications.

ShortcutAction
⌘ ASelect all.
⌘ Z / ⌘ ⇧ ZUndo / Redo.
⌥ ← / ⌥ →Move cursor one word left / right.
⌘ ← / ⌘ →Move to start / end of line.
⌘ ↑ / ⌘ ↓Move to document start / end.
⌥ DeleteDelete word to the left.
⌘ Delete (text field)Delete to start of line.
^ KDelete to end of line (Emacs-style; works in most fields).
^ A / ^ EMove to start / end of line (Emacs-style).
⌘ ;Spell check next error.
⌘ :Open spell check window.
^ ⌘ SpaceCharacter viewer (emoji and symbols).
⌘ ⌥ FFind and replace (in document editors).

System and Spotlight

ShortcutAction
⌘ SpaceOpen Spotlight.
⌥ ⌘ SpaceOpen Finder search in Spotlight.
⌘ ⌥ DShow/hide Dock.
^ ⌘ QLock screen immediately.
⌘ ⌥ Eject (or Power)Sleep.
^ ⌥ ⌘ EjectQuit all apps and shut down.
⌘ ,Open preferences for the current app.
⌘ ?Open Help for the current app.
⌘ ⇧ /Open Help menu search field.
⌥ click menu bar iconExtended info (Wi-Fi diagnostics, volume device list).
fn DeleteForward delete (on keyboards without a dedicated key).

Common gotchas

  • ⌘ W closes a tab or window but keeps the app running. Use ⌘ Q to quit. Many beginners close all windows and assume the app stopped.
  • ^ ` ` (Ctrl + backtick) cycles windows within the same app, but only when they are not minimized. Minimized windows do not appear in the cycle.
  • Screenshots default to the Desktop. Change the save location in ⌘ ⇧ 5 options.
  • ⌘ ⇧ . shows hidden files in Finder and Open/Save dialogs, but not in the path bar. Toggle it off when done to keep the view clean.
  • ⌥ drag copies files only when dragging between folders in Finder. Dragging between two windows of the same folder still moves the file.
  • ^ A and ^ E (Emacs start/end-of-line) work in Spotlight, Terminal, and most Cocoa text fields but not in some Electron apps.