MAC keyboard shortcuts

Source: Internet
Author: User
Tags delete key modifier

You can press the key combination to perform actions that typically require a mouse, trackpad, or other input device to complete.

To use a keyboard shortcut, press and hold one or more modifier keys while pressing the last key of the shortcut key. For example, to use the shortcut key 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 typically use symbols for certain keys, including the following modifier keys:

    • Command?
    • Shift?
    • Option?
    • Control?
    • Caps Lock?
    • Fn


If you are using 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 MAC keyboards and shortcuts use special keys in the top row, which have volume icons, display brightness icons, and other feature icons. Press the icon key to perform the function, or combine it with the Fn key to use as a F1, F2, F3, or other standard function key.

To learn more about shortcut keys, check the menu for the app you're using. Each app has its own shortcut key, and the shortcut keys used in one app may not be available for another app.

Cut, copy, paste, and other common shortcut keys
shortcut Keys Description
Command-x cut : Deletes the selected item and copies it to the Clipboard.
Command-c copies the selected items to the Clipboard. The same applies to files in the Finder.
Command-v Pastes 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 Command-shift-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 Find : Open the Find window, or find an item in your document.
Command-g Find again : Find the next location where the item you found earlier appears. To find the previous location that appears, press COMMAND-SHIFT-G.
Command-h hides The window of the front app. To view the front app but hide all other apps, press command-option-h.
Command-m minimizes the front window to the Dock. To minimize all windows of the front-most app, press COMMAND-OPTION-M.
Command-n new : Opens a new document or window.
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-w close the front window. To close all windows of the app, press COMMAND-OPTION-W.
Command-q quit the app.
Command-option-esc Force exit : Select the app you want to force quit. Or, press and hold Command-shift-option-esc for 3 seconds to force only the front app to exit.
command– Space Key Spotlight: Shows or hides the Spotlight search bar. To perform a Spotlight search from a Finder window, press command–option– SPACEBAR. If you use multiple input sources to type different languages, these shortcuts change the input source, not the Spotlight.
Space key Quick View : Use Quick View to preview the selected item.
Command-tab switch Apps: Switch to the next most recently used app in an open app.
command-shift-wave number (~) Toggle Window : Switch to the next most recently used window in the front of the app.
Command-shift-3 Screen shot: Take a screenshot of the entire screen. Learn more about screen-shot shortcut keys.
command-comma (,) Preferences : Open the preferences of the front app.
Sleep, Logoff, and shutdown shortcut keys
shortcut Keys Description
power button Tap to turn on your Mac or wake your Mac from sleep.
When the Mac is awake, press and hold for 1.5 seconds to display a dialog box asking if you want to restart, sleep, or shut down.
Pressing and holding for 5 seconds will force the MAC to shut down.
command–control– power button Force the MAC to restart.
command–option– power button Put your Mac to sleep.
shift–control– power button Put the monitor to sleep.
command–control– power button Quit all apps, and then restart your Mac. If any open documents have unsaved changes, you will be asked if you want to store those changes.
command–option–control– power button Quit all apps, and then turn off your Mac. If any open documents have unsaved changes, you will be asked if you want to store those changes.
Command-shift-q Log out of your OS X user account. You will be prompted to confirm.
Command-shift-option-q Log off your OS X user account immediately, and you are not prompted for confirmation.
Document shortcut keys
shortcut Keys Description
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-u Underlines the selected text, or turns the underline feature 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.
Command-control-d Shows or hides the definition of the selected word.
command-shift-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.
Command-delete Select Delete or do not store in the dialog box that contains the delete or do not store button.
fn– Up ARROW Pages up: Scrolls up one page.
fn– DOWN ARROW Pages down: Scrolls down one page.
Fn– LEFT Arrow Start: Scroll to the beginning of the document.
fn– RIGHT Arrow End: Scrolls to the end of the document.
command– Up ARROW Move 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 line at 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.
command–shift– Up ARROW Select the text between the insertion point and the beginning of the document.
command–shift– DOWN ARROW Select the text between the insertion point and the end of the document.
Command–shift– LEFT Arrow Select the text between the insertion point and the beginning of the current line.
command–shift– RIGHT Arrow Select the text between the insertion point and the end of the current line 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.
shift–option– Up ARROW Extend the text selection to the beginning of the current paragraph, and then to the beginning of the next paragraph by pressing once.
shift–option– DOWN ARROW Extend the text selection to the end of the current paragraph, and then to the end of the next paragraph by pressing once.
Shift–option– LEFT Arrow Extend the text selection to the beginning of the current word, and then to the beginning of the next word by pressing once.
shift–option– RIGHT Arrow Expands the text selection to the ending of the current word and then to the ending of the latter 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 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 row.
Control-n Moves down one line.
Control-o Inserts a row after the insertion point.
Control-t Swaps the character after the insertion point with the character in front of the insertion point.
command– left Curly brace ({) aligned to the left.
command– right curly brace (}) Align to the right.
command–shift– Vertical bar (|) Center alignment.
Command-option-f Go to the search bar.
Command-option-t Shows or hides the toolbar in the app.
Command-option-c Copy style: Copies the formatting of the selected item to the Clipboard.
Command-option-v Paste Style: Applies the copied style to the selected item.
Command-shift-option-v Paste and Match style: applies the style of the surrounding content to the items that are pasted in the content.
Command-option-i Shows or hides the Inspector window.
Command-shift-p Page Setup: Displays the window used to select document settings.
Command-shift-s Displays the Save As dialog box or copies the current document.
command–shift–
Minus SIGN (-)
Shrinks the selected item.
command–shift–
Plus (+)
Enlarges the selected item. The command– equals sign (=) performs the same function.
command–shift–
Question mark (?)
Open the Help menu.
Finder shortcut keys
shortcut Keys Description
Command-d Copies the selected files.
Command-e Eject the selected disk or volume.
Command-f Start Spotlight Search in the Finder window.
Command-i Displays the Show Info window for the selected file.
Command-shift-c Open the Computer window.
Command-shift-d Open the Desktop folder.
Command-shift-f Open the My All Files window.
Command-shift-g Open the Go to Folder window.
Command-shift-h Open the Personal folder of the current OS X user account.
Command-shift-i Open ICloud Drive.
Command-shift-k Open the Network window.
Command-option-l Open the Downloads folder.
Command-shift-o Open the Documents folder.
Command-shift-r Open the AirDrop window.
Command-shift-t Add the selected Finder item to the Dock (OS X Mountain Lion or lower)
Command-shift-control-t Add the selected Finder item to the Dock (OS X Mavericks or later)
Command-shift-u Open the Utilities folder.
Command-option-d Show or hide the Dock. This shortcut is usually valid even if you do not have the Finder open.
Command-control-t Add the selected item to the sidebar (OS X Mavericks or later).
Command-option-p Hides or displays the path bar in a Finder window.
Command-option-s Hides or displays a sidebar in a Finder window.
command– Slash (/) Hides or displays the status bar in a Finder window.
Command-j Bring up the "display" option.
Command-k Open the Connect to server window.
Command-l Create an alias for the selected item.
Command-n Opens a new Finder window.
Command-shift-n Create a new folder.
Command-option-n Create a new Smart folder.
Command-r Displays the original file for the selected alias.
Command-t Shows or hides the tab bar when a single label is opened in the current Finder window.
Command-shift-t Show or hide Finder labels.
Command-option-t Shows or hides the toolbar when a single label is opened in the current Finder window.
Command-option-v Move: Moves the file in the Clipboard from its original position to the current position.
Command-option-y Displays a quick View slide show of the selected file.
Command-y Use Quick view to preview the selected file.
Command-1 Displays the items in the Finder window as icons.
Command-2 Displays items in a Finder window in a list.
Command-3 Displays items in a Finder window in columns.
Command-4 Displays items in a Finder window in Cover Flow mode.
command– left bracket ([) Go to the previous folder.
command– right bracket (]) Down a folder.
command– Up ARROW Open the folder that contains the current folder.
command–control– Up ARROW Open the folder that contains the current folder in a new window.
command– DOWN ARROW Open the selected item.
Command–mission Control Displays the desktop. This shortcut is valid even if you do not have the Finder open.
command– High Brightness Turns the target display mode on or off.
command– Lowering brightness Turn on or off the display mirroring feature when your MAC is connected to multiple monitors.
Right Arrow Open the selected folder. This shortcut is only valid in List view.
Left Arrow Close the selected folder. This shortcut is only valid in List view.
option-Double Press Open the folder in a separate window and close the current window.
Command-Double Press Open the folder in a separate label or window.
Command-delete Move the selected item to the Trash.
Command-shift-delete Empty the wastepaper basket.
Command-shift-option-delete Empty the Trash (the confirmation dialog box is not displayed).
Command-y Use Quick view to preview the file.
option– High Brightness Open Display preferences. This shortcut can be used with any luminance key.
Option–mission Control Open the "Mission Control" preference setting.
option– Increase Volume Open sound preferences. This shortcut can be used in conjunction with any volume key.
Press the Command key while dragging Move the dragged item to another volume or location. The pointer changes as you drag the item.
Press the Option key while dragging Copy the dragged item. The pointer changes as you drag the item.
Press Command-option when dragging Create an alias for the dragged item. The pointer changes as you drag the item.
option-Click the telescopic triangle Open all folders within the selected folder. This shortcut is only valid in List view.
command-Click the window title View the folder that contains the current folder.

MAC keyboard shortcuts

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.