Learn ten core keyboard shortcuts that work across almost every app and save you time every day.
Why it matters
Technical work involves a lot of moving text around: copying an error message into a search, pasting a value into a spreadsheet, finding one word in a long log file, switching between documentation and your editor. Doing each of these with the mouse takes a few seconds. Doing them with the keyboard takes a fraction of a second, and it adds up to hours over a month. Shortcuts also keep your focus on the task instead of hunting through menus.
The core idea: one modifier key, many apps
Most shortcuts are a modifier key held down plus a letter. On Windows and Linux the main modifier is Ctrl. On macOS it is Cmd (the command key). Most shortcuts are the same letter on every system, so learning them once pays off in browsers, editors, spreadsheets and email.
In this lesson, Ctrl/Cmd + C means Ctrl + C on Windows/Linux and Cmd + C on a Mac.
The ten core shortcuts
| Shortcut | What it does | Memory hook |
|---|---|---|
Ctrl/Cmd + C | Copy the selection | Copy |
Ctrl/Cmd + X | Cut the selection | X looks like scissors |
Ctrl/Cmd + V | Paste | next to C on the keyboard |
Ctrl/Cmd + Z | Undo | the "oops" key |
Ctrl + Y (Windows) or Cmd + Shift + Z (Mac, and many Windows apps) | Redo | undo the undo |
Ctrl/Cmd + A | Select all | All |
Ctrl/Cmd + F | Find on the page or in the file | Find |
Ctrl/Cmd + S | Save | Save |
Ctrl/Cmd + T, Ctrl/Cmd + W | New browser tab, close tab | Tab, Window |
Alt + Tab (Windows/Linux) or Cmd + Tab (Mac) | Switch between apps | hold Alt/Cmd, tap Tab to move |
Three more that are worth learning next:
Ctrl/Cmd + Shift + Treopens the browser tab you just closed.Ctrl/Cmd + Ljumps to the address bar so you can type a URL or search.- Screenshot of part of the screen:
Windows + Shift + Son Windows,Cmd + Shift + 4on a Mac.
Text editing without the mouse
These work in nearly every text box, document and code editor:
- Arrow keys move one character or line.
- Ctrl + arrow (Windows/Linux) or Option + arrow (Mac) jumps a whole word.
- Home / End (Windows/Linux) or Cmd + left/right arrow (Mac) jumps to the start or end of the line.
- Add Shift to any of these to select as you move. For example,
Ctrl + Shift + right arrowselects one word at a time.
Worked example: reporting an error
A script fails and shows a long error. You want to search for it and paste it into a message to your team lead.
- Click into the error output, press
Ctrl/Cmd + Ato select it (orShift + arrowsto select just the last line). Ctrl/Cmd + Cto copy.Ctrl/Cmd + Tfor a new tab, thenCtrl/Cmd + Vand Enter to search for it.Alt/Cmd + Tabback to your chat app,Ctrl/Cmd + Vto paste.- Made a mess of the message?
Ctrl/Cmd + Z.
That whole sequence takes about five seconds once the keys are in your fingers.
Finding the shortcuts in any app
You do not need to memorise every shortcut in every program. Two habits help:
- Read the menus. Most menu items show their shortcut on the right. When you use a menu item twice, note its shortcut.
- Look for the shortcut list. Many apps show one with
Ctrl/Cmd + /(for example Google Docs and many web apps) or?(Gmail, GitHub). Code editors such as VS Code have a command palette (Ctrl/Cmd + Shift + P) that shows shortcuts next to each command.
Touch typing
Shortcuts are faster still if you can type without looking at the keyboard. Touch typing means resting your fingers on the home row (ASDF and JKL;, with small bumps on F and J) and letting each finger cover its own keys. Free practice sites exist; ten minutes a day for a few weeks makes a noticeable difference. Accuracy first, then speed.
Common mistakes
- Pasting formatting you did not want.
Ctrl/Cmd + Shift + Vpastes as plain text in many apps (on a Mac some apps useCmd + Option + Shift + V). - Cut instead of copy. If you cut and then copy something else before pasting, the first item is gone. Prefer copy, then delete.
- Forgetting to save. Desktop apps often do not autosave. Press
Ctrl/Cmd + Swhenever you pause. - Closing the wrong tab.
Ctrl/Cmd + Shift + Tbrings it back.
Quick recap
- Ctrl (Windows/Linux) and Cmd (Mac) plus a letter covers most shortcuts.
- Copy, cut, paste, undo, redo, select all, find, save, tabs and app switching are the core ten.
- Add Shift to movement keys to select text.
- Menus and shortcut lists teach you the rest; touch typing makes it all faster.
Try it
Open the Do tab for a short drill that uses all ten shortcuts.