Mac and Xcode shortcut keys

Source: Internet
Author: User
Tags exit in

Mac shortcut keys:

Window maximization: control+command+f

Window minimization: command+m

Close current: Command+w

Exit Program: Command+q

Safari PAGE DOWN: space

Hidden Current: Command+h

Hide current outside all: command+option+h

New Current window: Command+n

Force exit Current: Command+option+shift+esc

To open the Force exit program: Command+option+esc

Translation: Control+command+d

Xcode Simulator

Home Shortcut: SHIFT + COMMAND + H

Toggle Keyboard Type: Shift + Command + K

Indent left and Right: Command + [/ ]

Split screen: cmd + OPTION + return

Exit split screen: CMD + return

Check the code on jump: cmd + OPTION + [

Left shift of selected code:cmd +[

Copy and paste: cmd + D

Two fingers: Option

Two-finger move: Option + Shift

Skip to Page top: cmd + on

Skip to end of page: cmd + next

Quick jump to next /previous word:option + Right /left

Quickly jump to the beginning of a line /end of line:COM + left /right

Quick Select a line: cmd + SHIFT + Left/ right

Quick Select a row: mouse three times Combo

Open a window: cmd + t

Project Navigator: command+1

Show/ Hide Navigator Panel: command+0

Show/ Hide Utility Panel: command+option+0

Open the file in the Auxiliary editor : Select the file in the Project Navigator to perform the option+ left click operation.

Toggle header file and M. file, very useful : Command + control+ up and down ARROW keys

Fallback, back to the last page you opened: control+command+ left ARROW

Go forward back to the page you opened earlier : control+command+ right arrow

Control-k: Delete the remaining characters of the Bank (kill)

Local collapse/expand (Collapse a function) : Command+option+left/right

Global collapse/expand (Collapse all functions under the current file): Shift+command+option+left/right

Comment Block collapse/expand: (*//text between */* ) : Ctrl+shift+command+left/right

Press OPTION + ENTER, and the label contents will be wrapped.

Add File: Command + OPTION + A

Quick Add parameter description after/*: OPTION + COMMAND +/

Effect

basic shortcut keys

    • 1
      Command Mac Command-z undo
      Command-x cut
      command-c Copy (Copy)
      Command-v paste
      command-a Select all (All Command-s Save (save)
      Command-f Find (find
      Command-shift-4 intercept selected screen area to a file
      command-shift-3 Intercept all screens to file
      command-shift-control-3 intercept all screens to clipboard
      Command-shift-4 command-shift-control-4 intercepts the selected screen area to the Clipboard, or press SPACEBAR to capture only one window

    • In the application:
      Command-option-esc to open the Force exit window
      Command-h hiding (hide) the currently running application window
      Command-option-h hiding (hide) Other application windows
      Command-q exit (quit) The front-most application
      Command-shift-z redo, that is, reverse operation of undo
      Command-tab in the Open Applications list to the next most recently used application, equivalent to windows (ALT + TAB)
      Command-option-esc Open The Force Exit window and, if an application is unresponsive, select Force exit in the window list
    • Text Processing:
      Command-RIGHT ArrowMoves the cursor to the end of the current line
      Command-b Toggles the selected text bold (Bold) display
      Fn-delete equivalent toPC Full-size keyboardDelete, which is deleted backwards
      fn-up Arrows up one page (page up)
      fn-down ARROW scroll down one page (Page DOWN)
      Fn-left ARROW Scroll to beginning of document (Home)
      fn-RIGHT ARROW Scroll to end of document (end)
      command-RIGHT ARROW moves the cursor to the end of the current line
      Command-left ARROW moves the cursor to the beginning of the current line
      Command-down ARROW moves the cursor to the end of the document
      command-up ARROW moves the cursor to the beginning of the document
      option-RIGHT ARROW moves the cursor to the end of the next word
      option-left ARROW moves the cursor to the beginning of the previous word
      Control-a move to the beginning of a line or paragraph

    • In finder:
      command-option-v cut file
      Command-shift-n new folder ( Span class= "S1" >new)
      command-shift-g Callout window, enter absolute path Direct folder (go)
      Return this is not really a shortcut key, click on the file, press to rename the file
      Command-o Open the selected item. Open file in mac unlike windows directly press enter
      command-option-v function equivalent to windows in the file cut. Copy the file in another location (command-c), press this shortcut at the destination and the file will be clipped to this location
      command-up ARROW   Open the folder containing the current folder, which is equivalent to class= S1 ">windows" "
      Command-delete Move the file to the trash
      Command-shift-delete emptying the trash
      SPACEBAR Quick view of selected files, that is, preview function

    • In the browser:
      Control-tab turn to next tab page
      Command-l cursor jumps directly to the address bar
      Control-tab turn to next tab page
      Control-shift-tab turn to previous tab page
      command- Plus or equal sign enlarge page
      command- minus Zoom page
    • Mac shortcut keys when starting and shutting down
    • Command-option-p-r resetting NVRAM
      Option to press immediately after power on, the boot manager will be displayed, if the Mac is equipped with a dual system or a bootable USB flash drive, you can select the Startup disk in the boot manager
      Command-r Press immediately after power on to turn on OS x recovery (Recovery)
      Command-option-p-r immediately after power-on, reset NVRAM. Sometimes the computer will have some minor problems, resetting NVRAM is your first choice in addition to restarting and trying to fix it.
      command-option-control-power button exits all applications, allows you to save documents, then shuts down
      Press and hold the power button for 5 seconds to force the Mac to shut down

Mac and Xcode 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.