Can’t find Home, End, PageUp on Mac? Want to screenshots still have to open QQ? Don’t know how the Mac cuts files? Can’t find the button for a full-screen window? Can’t find the hidden folder? Don’t know how to delete backwards? Want to use less mouse and more keyboard? Xiaobian has accumulated some small skills to share with you.

Movement and selection

  1. The cursor

When you first switch from Windows, you may notice that the Mac doesn’t have Home and End keys. In fact, just like this:

  • Cmd + ← Move to start of line (Home)
  • Cmd + → move to the End of the line
  • Fn + ↓ Page down (PageUp)
  • For example, for some very long pages, you want to jump to the top and bottom quickly, even if there are no buttons on the page, you can do this:
  • Cmd + ↑ back to the top
  • Cmd + ↓ jumps to the bottom

The Mac also provides the ability to jump the cursor by word.

  • Alt + ← jumps forward one word
  • Alt + → Jump back one word
  1. delete

Windows has graciously added two Delete keys, BackSpace to the right of the equals sign and Delete above the arrow key. The Mac has only one “delete”, the equivalent of backspace on Windows. But in fact, we can delete backwards by simply using the “fn + delete” key combination

Moreover, “delete” and “fn + delete” can be combined with “Alt” in most cases to delete a word forward/backward. In some cases, you can use “Cmd” to delete entire lines (not in Atom, which sets this key combination to delete to the beginning/end of a line by default, so change the configuration if necessary)

  1. The text selection

All of the shortcuts mentioned above can be selected with “Shift”

To scroll up half a page, just:

  • Fn + Shift + ↑ To select the end (multiple lines) from the current position:
  • Cmd + Shift + ↓ To select three words backward, press (* 3 indicates three times) :
  • Alt + Shift + → * 3 To select the entire line, just:
  • Cmd + ← Then Cmd + Shift + →

Of course you can:

  • Cmd + → Then Cmd + Shift + ←

Edit operation

  1. Basic operation

In simple terms, most shortcut keys are simply to replace the Windows “Ctrl” with “Cmd”, such as:

  • Cmd + A select both
  • Cmd + C copy
  • Cmd + X clipping
  • Cmd + V paste
  • Cmd + Z undo
  • Cmd + Shift + Z undo undo
  1. Move files

This part probably shouldn’t be in this blog post. Most of the above shortcuts are the same for files in the Finder. You can select, copy, paste, and even undo and restore them all, but you can’t cut them with Cmd + X

Many people complain that Mac can only copy and paste files and then delete them (by the way, the shortcut for moving files to Trash is “Cmd + delete”), which makes moving files very inconvenient. Well, the Mac does. After copying, right-click the target folder, open the menu, and press Alt to change the original “Paste Item” to “Move Item Here” :

You can also use the shortcut key “Cmd + Alt + V” to move the file.

  1. Format shortcut key

In most text editors, such as Microsoft Word or Apple Pages, Numbers, we can format with shortcuts:

  • Cmd + B Bold (Bold)
  • Cmd + I Italic
  • Cmd + U Underline (Underline)
  1. Special shortcut key

These shortcuts are not memorized, are used occasionally by developers, and are not needed by most users. Right

In iTerm, for example, we find that “Cmd + ←” does not skip back to the beginning because iTerm has set the key to skip to a previous Tab. The same goes for skipping words with Alt

In this case, we need these special shortcuts for the function:

  • Ctrl + A jumps to the beginning of the line (Home)
  • Ctrl + E jumps to End of line
  • Ctrl + F move a word backwards
  • Ctrl + B move one word forward
  • Ctrl + P Moves the cursor up a line
  • Ctrl + N Moves the cursor down one line

These shortcuts can be useful, especially when typing long commands. These shortcuts work in most other environments as well. For ordinary users, there is no need to memorize anything special, just use the ones mentioned above

Add a little

I’m going to talk about “Cmd + F” text lookup later when I talk about Chrome manipulation. I’m not going to say much about the “Cmd + R” text substitution for now. Personally, I don’t think this feature has much meaning for ordinary users. And many editors and software now have friendly alternative Windows that aren’t too difficult to use.