Mac shortcut keys

Source: Internet
Author: User
Tags delete key modifier apple keyboard

MAC keyboard shortcuts

You can press certain key combinations to implement actions that typically require a mouse, trackpad, or other input device.

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

    • Command (or CMD)?
    • Shift?
    • Option (or Alt)?
    • Control (or Ctrl)?
    • Caps Lock?
    • Fn


On a Windows PC-only keyboard, use the ALT key instead of the Option key to replace the Command key with the Windows flag key.

Some keys on the Apple keyboard have special symbols and features, such as display brightness, keyboard brightness, dispatch center, and so on. If these features are not available on your keyboard, you may be able to generate some of these features 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 shortcut keys
  • Command-x: Cuts the selected items and copies them to the Clipboard.
  • Command-c: Copies the selected items to the Clipboard. The same applies to documents in "visit".
  • Command-v: Pastes the contents of the Clipboard into the current document or app. The same applies to documents in "visit".
  • Command-z: Undoes the last command. You can then press Shift-command-z to redo the reverse execution of the Undo command. In some apps, you can undo and redo multiple commands.
  • COMMAND-A: Select all items.
  • Command-f: Finds items in a document or opens the Find window.
  • Command-g: Find again: Find the next location where the item you found earlier appears. To find the previous location that appears, press SHIFT-COMMAND-G.
  • Command-h: Hides the window of the front app. To see the front-most apps but hide all other apps, press option-command-h.
  • Command-m: Minimizes the front window to "Dock". To minimize all windows of the front-most app, press OPTION-COMMAND-M.
  • Command-o: Open the selected item, or open a dialog box to select the file you want to open.
  • Command-p: Prints the current document.
  • Command-s: Stores the current document.
  • Command-t: Opens a new tab page.
  • Command-w: Closes the front window. To close all the windows of your app, press option-command-w.
  • OPTION-COMMAND-ESC: Force quit the app.
  • command– SPACEBAR: Shows or hides the focus search bar. To perform a "focus" search from the "Reach" window, press command–option– SPACEBAR. (If you use multiple input sources to type in different languages, these shortcuts change the input source rather than the focus.) Learn how to change the keyboard shortcuts for conflicts. )
  • control-command– SPACEBAR: Displays the character viewer, from which you can select emoji and other symbols.
  • Control-command-f: Use the app in full screen (if the app supports it).
  • SPACEBAR: Use Quick view to preview the selected item.
  • Command-tab: Switch to the next most recently used app in an open app.
  • Shift-command-3: Take a screenshot of the entire screen. Learn more about screen-shot shortcut keys.
  • Shift-command-n: Create a new folder in "Reach".
  • command-comma (,): Opens the preferences for the most previous app.

Sleep, log out, and shut down shortcut keys

In these shortcuts, you may have to hold down some of these shortcuts for a little longer. This will prevent you from inadvertently enabling shortcut keys.

    • power button or Touch ID sensor: Press to turn on the Mac power or wake the Mac from sleep. When the Mac is awake, press and hold the button for 1.5 seconds to get your Mac to sleep. Continuing to press and hold will force your MAC to shut down.
    • option–command– power button * or Option–command–media Eject (option–command– Media eject key): Puts your Mac to sleep.
    • control–shift– power button * or Control–shift–media Eject (control–shift– Media eject key): Puts the monitor to sleep.
    • control– power button * or Control–media Eject (control– Media eject key): Displays a dialog box asking if you want to restart, sleep, or shut down.
    • control–command– power button *: Forces the MAC to restart, and the system does not prompt for any open and unsaved documents to be stored.
    • Control–command–media Eject (control–command– Media eject key): Quit all apps, and then restart your Mac. If any open documents have unsaved changes, you are asked if you want to store those changes.
    • control–option-command– power button * or Control–option–command–media Eject (control–option–command– Media eject key): Quit all apps and then turn your Mac off. If any open documents have unsaved changes, you are asked if you want to store those changes.
    • Shift–command–q: Log out of your MacOS user account. You will be prompted to confirm. To exit the login immediately without confirmation, press OPTION-SHIFT-COMMAND-Q.

* Not available for keyboards with touch bars.

Accessibility and System shortcuts
  • Command-d: Copies the selected files.
  • COMMAND-E: Eject the selected disk or volume.
  • Command-f: Start the "focus" search in the "Reach" window.
  • Command-i: Displays the Show Info window for the selected file.
  • Shift-command-c: Opens the computer window.
  • shift-command-d: Open the Desktop folder.
  • Shift-command-f: Opens the All my Files window.
  • Shift-command-g: Opens the Go to Folder window.
  • Shift-command-h: Opens the personal folder for the current MacOS user account.
  • Shift-command-i: Open ICloud Cloud Disk.
  • Shift-command-k: Opens 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: Shows or hides the preview panel in the "Reach" window.
  • Shift-command-r: Open the "Drop off" window.
  • SHIFT-COMMAND-T: Displays the tab bar in the "Reach" window.
  • Ctrl-shift-command-t: Add the selected "Reach" Item to "Dock" (OS X Mavericks or later)
  • Shift-command-u: Open the Utilities folder.
  • Option-command-d: Shows or hides the dock.
  • CONTROL-COMMAND-T: Adds the selected item to the sidebar (OS X Mavericks or later).
  • Option-command-p: Hides or displays the path bar in the "Reach" window.
  • Option-command-s: Hides or displays the sidebar in the "Reach" window.
  • command– slash (/): Hides or displays the status bar in the "Reach" window.
  • Command-j: Displays the display option.
  • Command-k: Open the Connect to server window.
  • Command-l: Create an alias for the selected item.
  • Command-n: Open a new "reach" window.
  • Command-n: Create a new Smart folder.
  • Command-r: Displays the original file for the selected alias.
  • COMMAND-T: A tab bar is displayed or hidden in the current "reach" window with a single tab open.
  • Shift-command-t: Shows or hides the "Reach" tab.
  • Option-command-t: Displays or hides the toolbar in the current "reach" window with a single tab open.
  • OPTION-COMMAND-V: Move: Moves the files in the Clipboard from the original location to the current location.
  • Command-y: Use Quick View to preview the selected file.
  • Option-command-y: Displays a quick view slideshow of the selected files.
  • Command-1: Displays the items in the "Reach" window as an icon.
  • Command-2: Displays the items in the "Reach" window in a list.
  • Command-3: Displays the items in the "Reach" window in columns.
  • Command-4: Displays the items in the "Reach" window as a cover flow.
  • command– left bracket ([): Go to the previous folder.
  • command– right bracket (]): Go to the next folder.
  • command– up ARROW: Opens the folder that contains the current folder.
  • command–control– up ARROW: Opens the folder containing the current folder in a new window.
  • command– down ARROW: Opens the selected item.
  • Right arrow: Opens the selected folder. This shortcut is only valid in the list view.
  • Left arrow: Closes the selected folder. This shortcut is only valid in the list view.
  • Command-delete: Moves the selected item to the Trash.
  • Shift-command-delete: Emptying the Trash.
  • Option-shift-command-delete: Empty the Trash without displaying the confirmation dialog box.
  • Command-y: Use Quick View to preview the selected file.
  • command– brightness: Turn the target display mode on or off.
  • command– dimming: Turn video mirroring on or off when your MAC is connected to more than one monitor.
  • option– brightness: Turn on display preferences. This shortcut can be used with any brightness key.
  • control– brightness or control–: Change the brightness of the external display (if the monitor supports it).
  • option-shift– brightness or option-shift–: Adjusts the display brightness with a smaller stride. If your monitor supports it, you can add the control key to this shortcut to adjust on the external monitor.
  • option– "Dispatch Center": Opens the "Dispatch Center" preferences.
  • command– "Dispatch Center": Displays the desktop.
  • control– down ARROW: Displays all the windows of the front app.
  • option– volume up: Turn on sound preferences. This shortcut can be used in conjunction with any volume key.
  • option-shift– volume up or option-shift– down: adjust the volume in a smaller stride.
  • option– Keyboard Brightness: Open keyboard preferences. This shortcut can be used in conjunction with any keyboard brightness key.
  • option-shift– the keyboard to adjust the brightness or option-shift– the keyboard to lower the brightness: adjust the keyboard brightness with a smaller stride.
  • Double-click the Option key: Open the item in a separate window, and then close the original window.
  • Double-click the Command key: Opens the folder in a separate tab or window.
  • Hold down the Command key to another volume: Move the dragged item to another volume, instead of copying it.
  • Hold down the Option key to drag: Copy the item that you moved. The pointer changes as you drag the item.
  • Press and hold the Option-command key to drag: Create an alias for the dragged item. The pointer changes as you drag the item.
  • Option-click to open the triangle: Opens all folders within the selected folder. This shortcut is only valid in the list view.
  • Command-click the window title: View the folder that contains the current folder.
  • Learn how to use Command or Shift to select multiple items in your trip.
  • Click the Go menu in the Reach menu bar to view the shortcut keys for opening many popular folders, such as applications, documents, downloads, utilities, and ICloud cloud disks.

Document shortcut keys

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

  • Command-b: Displays the selected text in bold, or turns on or off the bold display feature.
  • Command-i: Displays the selected text in italics, or turns the italic display on or off.
  • Command-k: Add a link to a webpage.
  • Command-u: Underlines the selected text, or turns the underline on or off.
  • Command-t: Displays or hides the Fonts window.
  • command-d: Select the Desktop folder from the Open dialog box or the Storage dialog box.
  • Control-command-d: Shows or hides 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: Deletes the word to the left of the insertion point.
  • Control-h: Deletes the character to the left of the insertion point. You can also use the Delete key.
  • control-d: Deletes the character to the right of the insertion point. You can also use Fn-delete.
  • Fn-delete: Remove forward on the keyboard without a forward delete key. You can also use control-d.
  • Control-k: Deletes the text between the insertion point and the end of the line or paragraph.
  • fn– Up ARROW: Page UP: Scrolls up one page.
  • fn– down ARROW: PAGE DOWN: Scrolls down one page.
  • fn– left ARROW: Home: Scrolls to the beginning of the document.
  • fn– RIGHT ARROW: End: Scrolls to the end of the document.
  • command– up ARROW: Moves the insertion point to the beginning of the document.
  • command– down ARROW: Moves the insertion point to the end of the document.
  • command– left ARROW: Moves the insertion point to the beginning of the current line.
  • command– RIGHT ARROW: Moves 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 ending of the next word.
  • shift-command– Up ARROW: Select the text between the insertion point and the beginning of the document.
  • shift-command– down ARROW: Selects the text between the insertion point and the end of the document.
  • shift-command– LEFT ARROW: Selects the text between the insertion point and the beginning of the current line.
  • shift-command– RIGHT ARROW: Selects the text between the insertion point and the end of the current line.
  • shift– up ARROW: Expands the text selection to the nearest character at the same horizontal position as the previous line.
  • shift– down ARROW: Expands the text selection to the nearest character at the same horizontal position as the next line.
  • shift– left ARROW: extends the text selection one character to the left.
  • shift– RIGHT ARROW: extends the text selection one character to the right.
  • option–shift– up ARROW: Expands the text selection to the beginning of the paragraph in the current paragraph, and then expands to the beginning of the next paragraph by pressing once.
  • option–shift– down ARROW: Expands the text selection to the end of the current paragraph, and then press once to extend to the end of the next paragraph.
  • option–shift– left ARROW: Expands the text selection to the beginning of the current word, and then expands to the beginning of the next word by pressing once.
  • option–shift– left ARROW: Expands the text selection to the ending of the current word, and then presses it to the ending of the latter term.
  • Control–a: Moves to the beginning of a line or paragraph.
  • Control–e: Moves to the end of a line or paragraph.
  • Control–f: Moves forward one character.
  • Control–b: Moves backward one character.
  • Control–l: Places the cursor or selection in the center of the visible area.
  • Control–p: Moves up one line.
  • Control–n: Moves down one line.
  • Control–o: Inserts a new row after the insertion point.
  • Control–t: Exchanges the character after the insertion point with the character preceding the insertion point.
  • command– left Curly brace ({): left-justified.
  • command– right curly Brace (}): Right-justified.
  • shift-command– Vertical bar (|) : Center alignment.
  • Option-command-f: Go to the search bar.
  • Option-command-t: Shows or hides the toolbar in your 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 item.
  • Option-shift-command-v: Paste and Match style: applies the style of the surrounding content to the items that are pasted in the content.
  • Option-command-i: Shows or hides the Inspector window.
  • SHIFT-COMMAND-P: Page Setup: Displays the window used to select document settings.
  • Shift-command-s: Displays the Save As dialog box or copies the current document.
  • shift-command-minus SIGN (-): Shrinks the selected item.
  • shift-command-Plus (+): Zooms in on the selected item. command– equals sign (=) to achieve the same functionality.
  • shift-command– question mark (?) : Opens the Help menu.
Downloaded from Apple's official website. For more shortcuts, you can visit Apple's website, https://support.apple.com/zh-cn/HT201236

Mac shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.