# Shortcuts

The keys that keep your hands on the keyboard. Half an hour to learn, and you win a piece of every day back.

Multimedia & Creative Technology · 0.0 General · Self-study · version 1.0.2 · 2026-09-30

Tags: productivity, vs-code

Slides: <https://slides.mctantwerp.be/en/general/05-shortcuts>

Speaker notes: <https://slides.mctantwerp.be/en/general/05-shortcuts.notes.md>

<!-- slide 2 -->

## Agenda

1. Why: What that mouse costs you
2. Text: The set that works everywhere
3. VS Code: Six keys you use daily
4. Your system: Switching, tiling, capturing
5. Your browser: Tabs, reloading, devtools
6. Habit: How you remember them

<!-- slide 3 -->

## Self-study: How to work through this

*30 minutes, On your own*

Count on half an hour, with your hands on the keyboard. The drills catch every key, so nothing in this window can break.

1. Do every combination along in VS Code or your own editor
2. The two drills sit halfway through their chapter
3. Pick three combinations at the end that you will use this week

<!-- slide 4 -->

## 1. Why

*Two seconds each time, a hundred times a day.*

<!-- slide 5 -->

**Your hands belong on the keyboard.**

Every time you reach for your mouse you aim, click, and then find your place in the text again. Your head is doing nothing about your problem meanwhile.

<!-- slide 6 -->

### What a mouse click costs

- Your hand leaves the keyboard and returns to it blind
- You aim at a menu item twenty pixels tall
- You find your spot in the text again
- By then you forgot what you were about to type

> [!NOTE]
> **Do the maths**
>
> Fifty times a day, two seconds each, two hundred school days. That is over five hours of mouse per year.

<!-- slide 7 -->

### Touch typing first

*Shortcuts mean little while you still look down to find a bracket.*

- **[keybr.com](https://www.keybr.com)**: Builds words from the letters you still get wrong. Ten minutes a day is enough.
- **[monkeytype.com](https://monkeytype.com)**: Speed test with a mode for code and punctuation.
- **[typing.io](https://typing.io)**: Typing on real source code, brackets and semicolons included.

> [!TIP]
> Aim for forty words per minute without looking. Faster is a bonus, but not looking is where the gain sits.

<!-- slide 8 -->

## 2. Text

*This set works in your editor, your browser, your mail and your chat. Anywhere you type.*

<!-- slide 9 -->

### The four distances

*A character, a word, a line, a document. Same arrows, different key with it.*

| Movement | macOS | Windows |
| --- | --- | --- |
| One character | <kbd>←</kbd> <kbd>→</kbd> | <kbd>←</kbd> <kbd>→</kbd> |
| One word | <kbd>⌥</kbd> <kbd>←</kbd> | <kbd>Ctrl</kbd> <kbd>←</kbd> |
| Start or end of the line | <kbd>⌘</kbd> <kbd>←</kbd> | <kbd>Home</kbd> <kbd>End</kbd> |
| Start or end of the document | <kbd>⌘</kbd> <kbd>↑</kbd> | <kbd>Ctrl</kbd> <kbd>Home</kbd> |

<!-- slide 10 -->

### Selecting is shift on top

*Every movement above turns into a selection the moment you hold shift.*

| Selection | macOS | Windows |
| --- | --- | --- |
| A word to the left | <kbd>⇧</kbd> <kbd>⌥</kbd> <kbd>←</kbd> | <kbd>Shift</kbd> <kbd>Ctrl</kbd> <kbd>←</kbd> |
| To the end of the line | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>→</kbd> | <kbd>Shift</kbd> <kbd>End</kbd> |
| To the start of the line | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>←</kbd> | <kbd>Shift</kbd> <kbd>Home</kbd> |
| Everything | <kbd>⌘</kbd> <kbd>A</kbd> | <kbd>Ctrl</kbd> <kbd>A</kbd> |

> [!TIP]
> A double click selects a word, a triple click a line. That one is fine with the mouse, your hand is already there.

<!-- slide 11 -->

### Deleting without a backspace marathon

*Same logic: a character, a word, or back to the start of the line.*

| Delete | macOS | Windows |
| --- | --- | --- |
| A word to the left | <kbd>⌥</kbd> <kbd>⌫</kbd> | <kbd>Ctrl</kbd> <kbd>⌫</kbd> |
| Back to the start of the line | <kbd>⌘</kbd> <kbd>⌫</kbd> | <kbd>Shift</kbd> <kbd>Home</kbd> <kbd>⌫</kbd> |
| The character to the right | <kbd>fn</kbd> <kbd>⌫</kbd> | <kbd>Del</kbd> |

> [!NOTE]
> Hitting backspace ten times to remove one word is ten breaks in your rhythm.

<!-- slide 12 -->

### Copy, paste, undo

*The four you already know, plus two you could use every day.*

| What | macOS | Windows |
| --- | --- | --- |
| Copy, paste, cut | <kbd>⌘</kbd> <kbd>C</kbd> <kbd>V</kbd> <kbd>X</kbd> | <kbd>Ctrl</kbd> <kbd>C</kbd> <kbd>V</kbd> <kbd>X</kbd> |
| Paste without formatting | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>V</kbd> | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>V</kbd> |
| Undo | <kbd>⌘</kbd> <kbd>Z</kbd> | <kbd>Ctrl</kbd> <kbd>Z</kbd> |
| Redo after all | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>Z</kbd> | <kbd>Ctrl</kbd> <kbd>Y</kbd> |

> [!WARNING]
> Pasting without formatting saves you every time you move something from Word or a website into your code or your mail. Otherwise you drag fonts and colours along.

<!-- slide 13 -->

### Drill: text

*Six movements that work in every text field on your machine.*

<!-- slide 14 -->

## 3. VS Code

*Six combinations that separate clicking from working.*

<!-- slide 15 -->

### Two keys that open everything

*Anyone who knows these two stops needing the menu bar.*

- **Windows <kbd>Ctrl</kbd>+<kbd>P</kbd>, Mac <kbd>⌘</kbd>+<kbd>P</kbd>**: Type part of a file name and jump there. With `@` you jump to a function in that file, with `:` to a line number.
- **Windows <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>, Mac <kbd>⇧</kbd>+<kbd>⌘</kbd>+<kbd>P</kbd>**: The command palette. Every command in VS Code and in your extensions, with its shortcut next to it when there is one.

> [!TIP]
> <kbd>⌘</kbd> on a Mac is <kbd>Ctrl</kbd> on Windows. That pattern holds for nearly everything below.

<!-- slide 16 -->

### Moving lines

*Cutting and pasting to move one line is three actions too many.*

| What | macOS | Windows |
| --- | --- | --- |
| Line up or down | <kbd>⌥</kbd> <kbd>↑</kbd> <kbd>↓</kbd> | <kbd>Alt</kbd> <kbd>↑</kbd> <kbd>↓</kbd> |
| Duplicate the line | <kbd>⇧</kbd> <kbd>⌥</kbd> <kbd>↓</kbd> | <kbd>Shift</kbd> <kbd>Alt</kbd> <kbd>↓</kbd> |
| Delete the line | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>K</kbd> | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>K</kbd> |
| Comment it out | <kbd>⌘</kbd> <kbd>/</kbd> | <kbd>Ctrl</kbd> <kbd>/</kbd> |

> [!NOTE]
> You do not have to select anything. As long as your cursor is on the line, VS Code knows which one you mean.

<!-- slide 17 -->

### More than one cursor

*Typing the same change five times can also be one change in five places.*

| What | macOS | Windows |
| --- | --- | --- |
| Add the next hit of this word | <kbd>⌘</kbd> <kbd>D</kbd> | <kbd>Ctrl</kbd> <kbd>D</kbd> |
| Every hit of this word | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>L</kbd> | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>L</kbd> |
| A cursor on another line | <kbd>⌥</kbd> + click | <kbd>Alt</kbd> + click |
| A cursor straight below | <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>↓</kbd> | <kbd>Ctrl</kbd> <kbd>Alt</kbd> <kbd>↓</kbd> |

> [!TIP]
> <kbd>Esc</kbd> puts you back on one cursor. Without it you keep typing in ten places at once.

<!-- slide 18 -->

### Find, replace, rename

*Three ways to find something back, and one to change it everywhere at once.*

| What | macOS | Windows |
| --- | --- | --- |
| Find in this file | <kbd>⌘</kbd> <kbd>F</kbd> | <kbd>Ctrl</kbd> <kbd>F</kbd> |
| Find in the whole project | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>F</kbd> | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>F</kbd> |
| Rename a name everywhere | <kbd>F2</kbd> | <kbd>F2</kbd> |
| Back to where you were | <kbd>⌃</kbd> <kbd>-</kbd> | <kbd>Alt</kbd> <kbd>←</kbd> |

> [!WARNING]
> <kbd>F2</kbd> renames a variable everywhere it is used, without touching a piece of text inside a string. Find and replace does touch it.

<!-- slide 19 -->

### The window itself

*Panels open and closed, without aiming at the edge of your screen.*

| What | macOS | Windows |
| --- | --- | --- |
| Sidebar open or closed | <kbd>⌘</kbd> <kbd>B</kbd> | <kbd>Ctrl</kbd> <kbd>B</kbd> |
| Terminal open or closed | <kbd>⌃</kbd> <kbd>`</kbd> | <kbd>Ctrl</kbd> <kbd>`</kbd> |
| Save the file | <kbd>⌘</kbd> <kbd>S</kbd> | <kbd>Ctrl</kbd> <kbd>S</kbd> |
| Close the tab | <kbd>⌘</kbd> <kbd>W</kbd> | <kbd>Ctrl</kbd> <kbd>W</kbd> |

<!-- slide 20 -->

### Drill: VS Code

*Six combinations from your editor. They also work in Cursor, Windsurf and most other editors.*

<!-- slide 21 -->

## 4. Your system

*Switching, tiling and capturing, without aiming once.*

<!-- slide 22 -->

### Switching between what is open

*Everybody half knows alt tab. These three make it usable.*

| What | macOS | Windows |
| --- | --- | --- |
| To another app | <kbd>⌘</kbd> <kbd>Tab</kbd> | <kbd>Alt</kbd> <kbd>Tab</kbd> |
| Between windows of the same app | <kbd>⌘</kbd> <kbd>`</kbd> | <kbd>Ctrl</kbd> <kbd>Alt</kbd> <kbd>Tab</kbd> |
| To another desktop | <kbd>⌃</kbd> <kbd>←</kbd> <kbd>→</kbd> | <kbd>Win</kbd> <kbd>Ctrl</kbd> <kbd>←</kbd> |

> [!TIP]
> Hold the first key and tap the second one repeatedly to walk further down the row. Letting go picks.

<!-- slide 23 -->

### Tiling windows

*Your editor left, your browser right, without dragging.*

- **Windows**: <kbd>Win</kbd> <kbd>←</kbd> and <kbd>Win</kbd> <kbd>→</kbd> snap your window to a half. <kbd>Win</kbd> <kbd>↑</kbd> makes it full screen.
- **[macOS](https://rectangleapp.com)**: Sequoia added tiling, but Rectangle is faster and free. <kbd>⌃</kbd> <kbd>⌥</kbd> <kbd>←</kbd> for the left half.

> [!NOTE]
> Two windows next to each other save you the alt tabbing altogether. Certainly while following a tutorial or comparing two files.

<!-- slide 24 -->

### Screen captures

*Grabbing part of your screen is one combination, not a detour through an app.*

| What | macOS | Windows |
| --- | --- | --- |
| Part of your screen | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>4</kbd> | <kbd>Win</kbd> <kbd>Shift</kbd> <kbd>S</kbd> |
| The whole screen | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>3</kbd> | <kbd>PrtSc</kbd> |
| One window | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>4</kbd> then <kbd>Space</kbd> | <kbd>Alt</kbd> <kbd>PrtSc</kbd> |
| Record it as video | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>5</kbd> | <kbd>Win</kbd> <kbd>G</kbd> |

> [!TIP]
> On a Mac, holding <kbd>⌃</kbd> as well puts the image on your clipboard instead of on your desktop. Exactly what you want when you paste it straight away.

<!-- slide 25 -->

### Opening and searching

*Starting an app by typing its name beats finding it back in a folder.*

- **[Spotlight and Raycast](https://www.raycast.com)**: <kbd>⌘</kbd> <kbd>Space</kbd>, type the first letters, enter. Raycast does the same and adds clipboard history, window management and snippets.
- **[Start and PowerToys](https://learn.microsoft.com/windows/powertoys/)**: <kbd>Win</kbd> and typing already works. PowerToys Run on <kbd>Alt</kbd> <kbd>Space</kbd> is the faster version.
- **Clipboard history**: <kbd>Win</kbd> <kbd>V</kbd> on Windows shows everything you copied recently. On a Mac that lives in Raycast or Maccy.
- **Emoji and characters**: Windows <kbd>Win</kbd>+<kbd>.</kbd>, Mac <kbd>⌃</kbd>+<kbd>⌘</kbd>+<kbd>Space</kbd>

<!-- slide 26 -->

### Why is pasting without formatting so useful?

- A. Otherwise you drag font, colour and size along from the source
- B. It pastes faster
- C. It works without internet
- D. It translates your text automatically

**Answer:** A. Otherwise you drag font, colour and size along from the source

Copy from Word or a website and your clipboard holds formatting. In a mail, a form or a code block you only want the text. On a Mac that is Shift Cmd V, on Windows Ctrl Shift V.

<!-- slide 27 -->

## 5. Your browser

*You spend half your day in there, so those ten seconds count double.*

<!-- slide 28 -->

### Tabs and address bar

*Four combinations that keep your mouse out of your browser.*

| What | macOS | Windows |
| --- | --- | --- |
| To the address bar | <kbd>⌘</kbd> <kbd>L</kbd> | <kbd>Ctrl</kbd> <kbd>L</kbd> |
| New tab, close tab | <kbd>⌘</kbd> <kbd>T</kbd> <kbd>W</kbd> | <kbd>Ctrl</kbd> <kbd>T</kbd> <kbd>W</kbd> |
| Closed tab back | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>T</kbd> | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>T</kbd> |
| To tab 1 through 8 | <kbd>⌘</kbd> <kbd>1</kbd> | <kbd>Ctrl</kbd> <kbd>1</kbd> |

<!-- slide 29 -->

### Reloading and developer tools

*The two things you do all day while building for the web.*

| What | macOS | Windows |
| --- | --- | --- |
| Reload the page | <kbd>⌘</kbd> <kbd>R</kbd> | <kbd>F5</kbd> |
| Reload without cache | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>R</kbd> | <kbd>Ctrl</kbd> <kbd>F5</kbd> |
| Developer tools | <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>I</kbd> | <kbd>F12</kbd> |
| Inspect an element | <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>C</kbd> | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>C</kbd> |

> [!WARNING]
> Not seeing your css change? Reload without cache before you start doubting your code.

<!-- slide 30 -->

## 6. Habit

*Knowing them is not the same as using them.*

<!-- slide 31 -->

### How they end up in your fingers

*Learning them all at once does not work. One a week does.*

1. **Pick one**: Take the action you do with your mouse most often. Write the combination on a note stuck to your screen.
2. **Force yourself**: That week you only do it with the keyboard, even when it is slower. After four days it sticks.
3. **Read the menu**: Every combination sits to the right of its menu item. Every time you open a menu, you read one.

> [!TIP]
> Forgot a combination? The command palette in VS Code shows them next to every command, and <kbd>⌘</kbd> <kbd>K</kbd> <kbd>⌘</kbd> <kbd>S</kbd> opens the full list.

<!-- slide 32 -->

### Two kinds of shortcuts

*One kind you learn once for everywhere, the other only for the program you are in.*

#### The same everywhere

- Copy, paste, undo
- Moving and selecting word by word
- Find with ctrl or cmd and F
- Save, close, switch app

#### Per program

- The command palette of your editor
- Multiple cursors and moving lines
- Tools in Figma, Photoshop or Blender
- Your own combinations in Raycast or PowerToys

<!-- slide 33 -->

### Cheat sheet

- **Word by word**

  Windows <kbd>Ctrl</kbd>+<kbd>←</kbd>, Mac <kbd>⌥</kbd>+<kbd>←</kbd>

  Add <kbd>⇧</kbd> to select.
- **Paste without formatting**: Windows <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd>, Mac <kbd>⇧</kbd>+<kbd>⌘</kbd>+<kbd>V</kbd>
- **Open a file**

  Windows <kbd>Ctrl</kbd>+<kbd>P</kbd>, Mac <kbd>⌘</kbd>+<kbd>P</kbd>

  In VS Code, type part of the name.
- **Comment**

  Windows <kbd>Ctrl</kbd>+<kbd>/</kbd>, Mac <kbd>⌘</kbd>+<kbd>/</kbd>

  Toggles the line you are on.
- **Terminal**: <kbd>⌃</kbd> <kbd>`</kbd> in your editor, on both systems.
- **Screenshot**: Windows <kbd>Win</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd>, Mac <kbd>⇧</kbd>+<kbd>⌘</kbd>+<kbd>4</kbd>

<!-- slide 34 -->

### Task: Three for this week

*10 minutes, On your own*

Pick three combinations from this deck that you need today. No more, or nothing sticks.

1. Write them on a note and stick it to the edge of your screen
2. Use them with the keyboard only this week, even when it is slower
3. Pick three new ones next week and leave the old ones up
4. Set up one combination of your own in Raycast or PowerToys

<!-- slide 35 -->

### Further

*Two tools and two lists worth the trouble.*

- **[Raycast](https://www.raycast.com)**: For macOS. Launching, searching, clipboard, windows and your own scripts behind one key.
- **[PowerToys](https://learn.microsoft.com/windows/powertoys/)**: For Windows. Run, FancyZones and a keyboard manager to remap keys.
- **[VS Code keyboard shortcuts](https://code.visualstudio.com/docs/configure/keybindings)**: The official list, with a pdf per system.
- **[ShortcutFoo](https://www.shortcutfoo.com/app/dojos/vscode-mac)**: Drills the VS Code shortcuts until you type them without thinking.

## Glossary

- **Shortcut**: A key combination that does something without the mouse. Some work the same everywhere (copy, moving word by word), the rest belong to one program, like the command palette of your editor. (slide 32)
- **Touch typing**: Typing without looking at your keys. Aim for forty words a minute, because as long as you look down for a bracket, shortcuts make little difference. (slide 7)
- **Paste without formatting**: Pasting only the text, without dragging along the font and colours from Word or a website. Shift Cmd V on a Mac, Ctrl Shift V on Windows. (slide 12)
- **Command palette**: The search box with every command of VS Code and your extensions, with the shortcut next to it when there is one. Shift Cmd P on a Mac, Ctrl Shift P on Windows. (slide 15)
- **Multiple cursors**: Typing in several places at once in VS Code, for example with Cmd D (Ctrl D) to add the next occurrence of the same word. Esc takes you back to one cursor. (slide 17)
- **Rename with F2**: Renaming a variable or function everywhere it is used. Unlike find and replace, it leaves text in a string alone when it happens to match. (slide 18)
- **Tiling windows**: Snapping a window to one half of your screen without dragging, so your editor and your browser sit side by side. Win plus an arrow on Windows, Rectangle on macOS. (slide 23)
- **Clipboard history**: A list of everything you copied recently, not only the last thing. Win V on Windows, on a Mac through Raycast or Maccy. (slide 25)
- **Reload without cache**: Reloading the page and fetching everything again instead of showing the stored copy. Shift Cmd R or Ctrl F5, the first thing you do when your css change does not show up. (slide 29)

## Links and sources

### In the deck

- [keybr.com](https://www.keybr.com) (slide 7)
- [monkeytype.com](https://monkeytype.com) (slide 7)
- [typing.io](https://typing.io) (slide 7)
- [macOS](https://rectangleapp.com) (slide 23)
- [Spotlight and Raycast](https://www.raycast.com) (slide 25, slide 35)
- [Start and PowerToys](https://learn.microsoft.com/windows/powertoys/) (slide 25, slide 35)
- [VS Code keyboard shortcuts](https://code.visualstudio.com/docs/configure/keybindings) (slide 35)
- [ShortcutFoo](https://www.shortcutfoo.com/app/dojos/vscode-mac) (slide 35)
