Bo2SS

Bo2SS

Tips | Complete Shortcut Keys, Activate Your Mouseless Working Mode

If you use shortcuts well, you won't need a mouse for anything.

I don't know if anyone has this habit, but every time before using a software, I always try out its various shortcuts. So today, I'm going to introduce the various shortcuts that I frequently use, which can also make up for the several weeks of no updates.

This article mainly covers the following scenarios:

  1. Mac / Windows
  2. Chrome Browser
  3. Xcode IDE

Mac / Windows#

  1. System-level Controls
ActionMacWindows
Close current pagecommand + Wctrl + W
Quit current softwarecommand + Qalt + f4
New windowcommand + Nctrl + N
New tabcommand + Tctrl + T
Switch desktopcontrol + left / rightctrl + win + left / right
Switch applicationcommand + tabalt + tab
Switch windows within the same applicationcommand + ~-
Open "Force Quit Applications" windowcommand + option + escwin + esc (TaskMan)
Open system settings-win + I
Minimize frontmost window to dockcommand + Mwin + D
Fullscreencommand + control + Ff11
Lock screencommand + control + Qwin + L
  1. File Manager (Finder / Explorer)
ActionMacWindows
Delete file (folder)command + backspacedelete / (ctrl + D)
Move file (folder)command + C → command + option + Vctrl + X → ctrl + V
Create new foldercommand + shift + Nctrl + shift + N
Quickly open file managercommand + option + spacewin + E
Create a copy of the selected filecommand + Dctrl + C → ctrl + V
Jump to specified pathcommand + shift + G-
Copy current folder pathcommand + option + C-
Empty trashcommand + shift + backspace-
Display files in different formscommand + 1 ~ 4-
Arrange files in different orderscommand + control + 1 ~ 7-
Show path barcommand + option + P-
Open file manager window with the same path-ctrl + N
  1. Others
ActionMacWindows
Quickly open software, filescommand + spacewin + S
Open preferences for the applicationcommand + , (comma)ctrl + ,
Savecommand + Sctrl + S
Select allcommand + Actrl + A
Copy / Cut / Pastecommand + C / X / Vctrl + C / X / V
Undo / Redocommand + Z / command + shift + Z (command + Y)ctrl + Z / ctrl + shift + Z (ctrl + Y)
Open emoji panelfnwin + . (dot)
Delete character after cursorcontrol + Ddelete

Tips:

  1. On Mac, combining shortcuts with the trackpad can maximize the mouse-free work mode. In addition to shortcuts, I prefer using gestures to switch applications and desktops. Also, remember to enable the three-finger drag feature on the Mac trackpad as a substitute for mouse dragging capability. Check out Use Multi-Touch gestures on your Mac for more information.
  2. For operations with a specific order, combining the shift button generally achieves the reverse effect.
  3. Correspondence between Mac and Windows key positions: command - ctrl, option - alt, control - secondary ctrl.

Reference: Mac keyboard shortcuts - Apple Official

Chrome Browser#

Many shortcut keys in Google Chrome browser are actually the same as those in the system, such as closing the current page, opening a new window, and opening a new tab mentioned above. In addition, there are some commonly used shortcuts:

ActionMacWindows
Reopen the last closed tabcommand + shift + Tctrl + shift + T
Go back / forward one viewcommand + left / rightalt + left / right
Jump to the address barcommand + Lctrl + L
Findcommand + Fctrl + F
Jump to the next tabcontrol + tabctrl + tab
Open link in a new background tabcommand + clickctrl + click
Zoom in / out on webpage contentcommand and + / -ctrl and + / -
Open JavaScript consolef12f12

Reference: Keyboard shortcuts for Chrome - Google Chrome Official

Xcode IDE#

For iOS developers: (Many shortcut keys in Xcode are also the same as those in the system, such as closing the current page, opening a new tab, etc.)

  1. Familiarize with Code
ActionShortcut
Quickly find files (classes, properties, methods)command + shift + O
Quickly locate the current file in the projectcommand + shift + J
Jump to definitioncommand + control + click
View method-related information (such as callers)control + 1
Go back / forward one viewcommand + control + left / right
Findcommand + F
Find using selection (reduce copy-paste operations)command + E
Find next(command + G) / enter
Global searchcommand + shift + F
View related actionscommand + click
View quick helpoption + click
  1. Code Development
ActionShortcut
Create new filecommand + N
Create new Groupcommand + option + N
Replacecommand + option + F
Add documentation commentcommand + option + /
Comment out selected codecommand + /
Re-match code completionesc
Rename (edit all occurrences)command + control + E
  1. Build & Run & Debug
ActionShortcut
Runcommand + R
Run without buildingcommand + control + R
Stop runningcommand + .
Clean buildcommand + shift + K
Clear consolecommand + K
Add / remove breakpointcommand + \
  1. Others
ActionShortcut
Open developer documentationcommand + shift + 0
Open welcome page and select a projectcommand + shift + 1
Collapse / expand folderleft / right
Edit schemecommand + shift + ,
Open simulator management pagecommand + shift + 2
Find syntax errorscommand + shift + ;

Tips: You can also make use of various options in the Editor to improve development efficiency, such as Minimap, Assistant view, etc.

Reference: Menu Command Shortcuts - Xcode Official


It seems like the mouse has taken away the keyboard's job, but did the design of shortcuts help the keyboard make a comeback?

Alright, that's all I have to share today. Do you have any recommended or favorite shortcuts? Feel free to comment in the comment section!

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.