Skip to content

mac shortcut keys ​

Mac keyboard shortcuts You can press certain key combinations to perform actions that normally require a mouse, trackpad, or other input device.

To use a keyboard shortcut, hold down one or more modifier keys, and then press the last key of the shortcut.For example, to use Command-C (Copy), hold down the Command key, press the C key, and then release both keys.Mac menus and keyboards often use symbols to represent certain keystrokes, including the following modifier keys:

Command (or Cmd) ⌘
Shift ⇧
Option (or Alt) ⌥
Control (or Ctrl)⌃
Caps Lock ⇪
Fn

On a Windows PC-specific keyboard, use the Alt key instead of the Option key and the Windows logo key instead of the Command key.

Some keys on the Apple keyboard have special symbols and functions, such as Display Brightness , Keyboard Brightness , Schedule Center, and more.If your keyboard doesn't have these features, you might be able to implement some of them by creating your own keyboard shortcuts.To use these keys as F1, F2, F3, or other standard function keys, combine them with the Fn key.

Cut, copy, paste and other common shortcuts ​

  • Command-X: Cut the selected item and copy it to the clipboard.
  • Command-C: Copy selected items to the clipboard.The same applies to files in the Finder.
  • Command-V: Paste the contents of the clipboard into the current document or app.The same applies to files in the Finder.
  • Command-Z: Undo the previous command.You can then press Shift-Command-Z to redo, reversing the undo command.In some apps, you can undo and redo multiple commands.
  • Command-A: Select all items.
  • Command-F: Find the item in the document or open the Find window.
  • Command-G: Find Again: Finds the next occurrence of the previously found item.To find the previous occurrence, press Shift-Command-G.
  • Command-H: Hide the front application window.To see the top app but hide all others, press Option-Command-H.
  • Command-M: Minimize the frontmost window to the Dock.To minimize all windows of the frontmost app, press Option-Command-M.
  • Command-O: Open the selection, or open a dialog box to select a file to open.
  • Command-P: Print the current document.
  • Command-S: Save the current document.
  • Command-T: Open a new tab.
  • Command-W: Close the frontmost window.To close all of the app's windows, press Option-Command-W.
  • Option-Command-Esc: Force quit the application.
  • Command-Spacebar: Show or hide the Spotlight search field.To perform a Spotlight search from a Finder window, press Command–Option–Spacebar.(If you use multiple input sources to type in different languages, these shortcuts change the input source instead of showing Focus. Learn how to change conflicting keyboard shortcuts.)
  • Control-Command–Spacebar: Displays the character viewer, where you can select emoji and other symbols.
  • Control-Command-F: Use the app in full screen (if the app supports it). Spacebar: Use Quick Look to preview selected items.
  • Command-Tab: Switch between multiple open apps to the next most recently used app.
  • Shift-Command-5: In macOS Mojave or later, take a screenshot or record your screen.You can also use Shift-Command-3 or - Shift-Command-4 to take a screenshot.Learn more about taking screenshots.
  • Shift-Command-N: Create a new folder in the Finder.
  • Command-Comma (,): Opens the preferences for the top app.

Sleep, log out and shutdown shortcut keys ​

You may need to hold some of these shortcuts for a little longer.This helps avoid inadvertently enabling shortcut keys.

  • Power button: Press to turn on your Mac or wake your Mac from sleep.Press and hold this button for 1.5 seconds to put your Mac to sleep*.Continuing to hold down will force your Mac to shut down.
  • Option–Command–Power button* or Option–Command–Media Eject: Put your Mac to sleep.
  • Control–Shift–Power button* or Control–Shift–Media Eject: Put the monitor to sleep.
  • Control–Power button* or Control–Media eject key: Displays a dialog box asking you whether you want to restart, sleep, or shut down.
  • Control–Command–Power button*: Forces your Mac to restart without being prompted to save any open and unsaved documents.
  • Control–Command–Media Eject: Exit all apps, then restart your Mac.If any open document has unsaved changes, you'll be asked if you want to save those changes.
  • Control–Option–Command–Power button* or Control–Option–Command–Media Eject key: Quit all apps, then shut down your Mac.If any open document has unsaved changes, you'll be asked if you want to save those changes.
  • Control-Command-Q: Lock the screen immediately.
  • Shift–Command–Q: Sign out of your macOS user account.You will be prompted to confirm.To log out immediately without confirming, press Option-Shift-Command-Q.

Finder and system shortcut keys ​

  • Command-D: Copy selected files.
  • Command-E: Eject the selected disk or volume.
  • Command-F: Start a Spotlight search in the Finder window.
  • Command-I: Displays the Show Info window for the selected file.
  • Command-R: (1) If an alias is selected in the Finder: Displays the original file for the selected alias.(2) In some applications (such as Calendar or Safari), refresh or reload the page.(3) In the "Software Update" preferences, check again for software updates.
  • Shift-Command-C: Open the Computer window.
  • Shift-Command-D: Open the Desktop folder.
  • Shift-Command-F: Opens the Recent window, which shows all files you've recently viewed or changed.
  • Shift-Command-G: Open the Go to Folder window.
  • Shift-Command-H: Open the home folder for the current macOS user account.
  • Shift-Command-I: Open iCloud Drive.
  • Shift-Command-K: Open the Network window.
  • Option-Command-L: Open the Downloads folder.
  • Shift-Command-N: Create a new folder.
  • Shift-Command-O: Open the Documents folder.
  • Shift-Command-P: Show or hide the preview panel in the Finder window.
  • Shift-Command-R: Open the AirDrop window.
  • Shift-Command-T: Show or hide the tab bar in the Finder window.
  • Ctrl-Shift-Command-T: Add selected Finder items to the Dock (OS X Mavericks or later)
  • Shift-Command-U: Open the Utilities folder.
  • Option-Command-D: Show or hide the Dock.
  • Control-Command-T: Add selected items to the sidebar (OS X Mavericks or later).
  • Option-Command-P: Hide or show the path bar in the Finder window.
  • Option-Command-S: Hide or show the sidebar in Finder windows.
  • Command–slash (/): Hide or show the status bar in Finder windows.
  • Command-J: Show Display options.
  • Command-K: Open the "Connect to Server" window.
  • Control-Command-A: Create an avatar for the selected item.
  • Command-N: Open a new Finder window.
  • Option-Command-N: Create a new smart folder.
  • Command-T: Show or hide the tab bar when a single tab is open in the current Finder window.
  • Option-Command-T: Show or hide the toolbar when a single tab is open in the current Finder window.
  • Option-Command-V: Move files in the clipboard from their original location to their current location.
  • Command-Y: Use Quick Look to preview the selected file.
  • Option-Command-Y: Display a Quick View slideshow of selected files.
  • Command-1: Display items in the Finder window as icons.
  • Command-2: Display the items in the Finder window as a list.
  • Command-3: Display items in the Finder window in columns.
  • Command-4: Display items in the Finder window as a gallery.
  • Command–Left bracket ([): Go to the previous folder.
  • Command–right bracket (]): Go to the next folder.
  • Command–Up Arrow: Open the folder containing the current folder.
  • Command–Control–Up Arrow: Opens the folder containing the current folder in a new window.
  • Command–Down Arrow: Open the selected item.
  • Right arrow: Open the selected folder.This shortcut key only works in list view.
  • Left arrow: Close the selected folder.This shortcut key only works in list view.
  • Command-Delete: Move selected items to the Trash.
  • Shift-Command-Delete: Empty the Trash.
  • Option-Shift-Command-Delete: Empty the Trash without displaying a confirmation dialog.
  • Command-Brightness Down: Turns video mirroring on or off when your Mac is connected to multiple monitors.
  • Option–Turn up brightness: Open Displays preferences.This shortcut key works with any brightness key.
  • Control–Brightness Up or Control–Brightness Down: Change the brightness of the external display (if the display supports it).
  • Option-Shift–Brightness up or Option-Shift–Brightness down: Adjust the display brightness in smaller steps.If your monitor supports it, you can add the -Control key to this shortcut to make adjustments on an external monitor.
  • Option–"Scheduling Center": Opens the "Scheduling Center" preferences.
  • Command-Dispatch Center: Display the desktop.
  • Control–Down Arrow: Shows all windows of the frontmost application.
  • Option–Volume Up: Opens Sound preferences.This shortcut works with any of the volume keys.
  • Option-Shift–Volume Up or Option-Shift–Volume Down: Adjust the volume in smaller steps.
  • Option–Keyboard Brightness: Open Keyboard preferences.This shortcut works with any keyboard brightness key.
  • Option-Shift–Keyboard Brightness Up or Option-Shift–Keyboard Brightness Down: Adjust keyboard brightness in smaller steps.
  • Double-click the Option key: Open the project in a separate window, then close the original window.
  • Double-click the Command key: Open the folder in a separate tab or window.
  • Command-drag to another volume: Moves the dragged item to another volume instead of copying it.
  • Option-drag: Copies the dragged item.The pointer changes as you drag the item.
  • Option-Command while dragging: Create an alias for the dragged item.The pointer changes as you drag the item.
  • Option-click the triangle: Open all folders within the selected folder.This shortcut only works in list view.
  • Command-click the window title: View the folders that contain the current folder.
  • Learn how to use Command or Shift to select multiple items in the Finder.
  • Click the Go menu in the Finder menu bar to see shortcut keys for opening many commonly used folders, such as Apps, Documents, Downloads, Utilities, and iCloud Drive.

Document shortcut keys ​

The behavior of these shortcut keys may vary depending on the app you are using.

  • Command-B: Bold selected text, or turn bolding on or off.
  • Command-I: Italicize selected text, or turn italics on or off.
  • Command-K: Add web link.
  • Command-U: Underline selected text, or turn underlining on or off.
  • Command-T: Show or hide the Fonts window.
  • Command-D: Select the Desktop folder from within the Open dialog box or Save dialog box.
  • Control-Command-D: Show or hide the definition of the selected word.
  • Shift-Command–Colon (😃: Displays the Spelling and Grammar window.
  • Command–Semicolon (😉: Find misspelled words in your document.
  • Option-Delete: Delete the words to the left of the insertion point.
  • Control-H: Delete the characters to the left of the insertion point.You can also use the Delete key.
  • Control-D: Delete characters to the right of the insertion point.You can also use Fn-Delete.
  • Fn-Delete: Delete forward on keyboards without a forward delete key.You can also use Control-D.
  • Control-K: Delete text between the insertion point and the end of the line or paragraph.
  • Fn-Up Arrow: Page Up: Scroll up one page.
  • Fn–Down Arrow: Page Down: Scroll down one page.
  • Fn–Left Arrow: Home: Scroll to the beginning of the document.
  • Fn–Right Arrow: End: Scroll to the end of the document.
  • Command–Up Arrow: Move the insertion point to the beginning of the document.
  • Command–Down Arrow: Move the insertion point to the end of the document.
  • Command–Left Arrow: Move the insertion point to the beginning of the current line.
  • Command–right arrow: Move the insertion point to the end of the current line.
  • Option–Left Arrow: Moves the insertion point to the beginning of the previous word.
  • Option–Right Arrow: Moves the insertion point to the end of the next word.
  • Shift-Command–Up Arrow: Select text between the insertion point and the beginning of the document.
  • Shift-Command–Down Arrow: Select text between the insertion point and the end of the document.
  • Shift-Command–Left Arrow: Select text between the insertion point and the beginning of the current line.
  • Shift-Command–Right Arrow: Select text between the insertion point and the end of the current line.
  • Shift–Up Arrow: Extend the text selection to the nearest character at the same horizontal position on the previous line.
  • Shift–Down Arrow: Extend the text selection to the nearest character at the same horizontal position on the next line.
  • Shift–Left Arrow: Extend the text selection one character to the left.
  • Shift–Right Arrow: Extend the text selection one character to the right.
  • Option–Shift–Up Arrow: Expand the text selection range to the beginning of the current paragraph, and press it again to extend it to the beginning of the next paragraph.
  • Option–Shift–Down Arrow: Extend the text selection to the end of the current paragraph, and press it again to extend it to the end of the next paragraph.
  • Option–Shift–Left Arrow: Extends text selection to the beginning of the current word, or to the beginning of the following word if pressed again.
  • Option–Shift–Left Arrow: Extend text selection to the end of the current word, or press it again to the end of the following word.
  • Control–A: Move to the beginning of a line or paragraph.
  • Control–E: Move to the end of a line or paragraph.
  • Control-F: Move forward one character.
  • Control-B: Move backward one character.
  • Control–L: Center the cursor or selection in the visible area.
  • Control-P: Move up one line.
  • Control–N: Move down one line.
  • Control-O: Insert a new line after the insertion point.
  • Control-T: Swap the characters after the insertion point with the characters before the insertion point.
  • Command–Left curly brace ({): left-aligned.
  • Command–right brace (}): right-aligned.
  • Shift-Command–vertical bar (|): Center alignment.
  • Option-Command-F: Go to the search bar.
  • Option-Command-T: Show or hide the toolbar in the app.
  • Option-Command-C: Copy Style: Copies the formatting of the selected item to the clipboard.
  • Option-Command-V: Paste Style: Applies the copied style to the selected items.
  • Option-Shift-Command-V: Paste and Match Style: Applies styles from surrounding content to items pasted within that content.
  • Option-Command-I: Show or hide the Inspector window.
  • Shift-Command-P: Page Setup: Displays a window for choosing document settings.
  • Shift-Command-S: Display the Save As dialog box or copy the current document.
  • Shift-Command-Minus Sign (-): Make the selection smaller.
  • Shift-Command-Plus Sign (+): Enlarge the selection.Command–Equal sign (=) does the same thing.
  • Shift-Command–Question Mark (?): Opens the Help menu.

Screenshot shortcut key record ​

command - shift - 3
command - shift - 4
command - shift - 4 - Space
command - control - shift - 3
command - control - shift - 4
command - control - shift - 4 -Space

For the color picking part, ColorSchemer Studio is recommended

The final sip used in the color picking part ​

sip download

From v2ex

Other shortcut keys ​