Article directory
1. The difference between the function key logo and window
- Command (or Cmd) ⌘
- Shift ⇧
- Option (or Alt) ⌥
- Control (or Ctrl) ⌃
- Caps Lock ⇪
Notice:
The difference between windows and Mac:
The WIN key is the command key
ctrl is the control key
option is the alt key
Only the shift is the same
1. Shortcut keys useful for development
1. View hidden folders
command+shift+.
2. Cutting
command+C
copy first
Then command+option+v
paste (one more option than copy)
3. The beginning or end of the line
command+←
beginning of line
command+→
end of line
4. View the absolute path of each App installation
which app名
,for examplewhich node
2. Shortcut keys that can improve work efficiency
1. Quickly preview the picture instead of opening the picture
点击图片,然后按空格键
, and then click the space bar to automatically restore
2. The Finder opens with tabs instead of new windows
command+单击
The folder to open
3. How to quickly organize desktop files, that is, by stacking them
Right-click, use stack or
Ctrl+单击
4. If there are too many files, you can 聚焦
quickly search for any file, APP, etc.
command+空格键
You can call up the focused search, the default is the global search, you can change it to the current folder in the preferences
5. Hide the window of the frontmost App. To see the front app but hide all others, press Option-Command-HCommand-H
6. Option-Command-Esc
Force quit the current App
7. Command-M
Minimize the current window
8. Shift-Command-5
In macOS Mojave or later , take a screenshot or record the screen. You can also use Shift-Command-3
orShift-Command-4
5 means screen recording, 3 means screenshot, you can edit the screenshot, 4 means screenshot and copy, you can paste it to other places
9. Control-Command–空格键
Expression selection
10. Control-Command-F
: Use the App in full screen (if the App supports it)
11. Command-逗号 (,)
: Open the preferences of the front app
12. Format as text and paste
After copying, it
command+shift+v
can be pasted as plain text by , which is the same as window
13. Control-Command-Q
: Lock the screen immediately.
14. Ctrl+↑
: Dispatch center, which can list all Apps, similar to command+tab
the key
3. Finder Featured Shortcut Keys
Note: It will only be valid after switching to Finder.
1. Shift-Command-H
: Open the personal folder of the current macOS user account
2. Option-Command-L
: Open the "Downloads" folder
3. Shift-Command-U
: Open the "Utilities" folder
4. Option-Command-P
: Hide or show the path bar in the Finder window
5. command+1、2、3、4
Switch the display mode of the folder
6. command+[]
Go to the previous or next folder
3. Shortcut keys for some specific apps
1. Maccy is an open source software for keeping copy records
command+shift+C
Can bring up the copy panel, but after clicking, you can only select the copied item, and you have to command+v
copy it to the specified place again
4. Shortcut keys for screenshots
- Shortcut key for full screen capture:
Shift + Cmmand + 3
- Shortcut key for intercepting selected area:
Shift + Cmmand + 4
- After the operation is complete, the picture will be saved on the desktop in PNG format by default.
If you want to copy the screenshot while taking a screenshot:
- Take a full screen capture and save it to the clipboard:
Shift + Cmmand + Control + 3
- Capture selection and save to clipboard:
Shift + Cmmand + Control + 4
- Capture window and save to clipboard:
Shift + Cmmand + Control + 4 + 空格
The shortcut key address of the official website: https://support.apple.com/zh-cn/HT201236