# Windows shortcuts

A short list of keyboard shortcuts and window tricks that make everyday computer work faster. Learn a few at a time. Each one you commit to muscle memory saves you a hundred trips to the mouse.

Using a Mac? See [Mac shortcuts](mac-shortcuts.guide.md).

---

## The keys

Windows shortcuts are built around **Ctrl**, **Alt**, and the **Windows** key.

| Key           | Where it is                                                       |
| :------------ | :---------------------------------------------------------------- |
| **Ctrl**      | Bottom-left corner                                                |
| **Windows** ⊞ | Between Ctrl and Alt, with the four-pane logo                     |
| **Alt**       | Next to the space bar                                             |
| **Shift**     | Above Ctrl                                                        |
| **Backspace** | Deletes to the left. **Delete** (Del) deletes to the right.       |

Laptops sometimes hide **Home**, **End**, and **PrtScn** behind the **Fn** key. Look for small labels on the arrow keys or function row.

---

## Learn these first

| What you want              | Press                                   |
| :------------------------- | :-------------------------------------- |
| Copy                       | **Ctrl + C**                            |
| Paste                      | **Ctrl + V**                            |
| Cut                        | **Ctrl + X**                            |
| Undo                       | **Ctrl + Z**                            |
| Redo                       | **Ctrl + Y** (some apps use **Ctrl + Shift + Z**) |
| Select all                 | **Ctrl + A**                            |
| Save                       | **Ctrl + S**                            |
| Find on this page          | **Ctrl + F**                            |
| Switch between apps        | **Alt + Tab** (see below)               |
| Search your PC             | **Windows key**, then start typing      |

**Paste without formatting:** **Ctrl + Shift + V** in browsers and most apps. Use it when pasting from a web page or a chat into a document so you do not drag along fonts and colors.

**Clipboard history:** **Windows + V** shows the last several things you copied. Turn it on the first time it asks. This is a lifesaver when you copy something new before pasting the old thing.

---

## Switching between apps and windows

**Alt + Tab** is the fastest way to move between windows.

- Hold **Alt**, then tap **Tab** to step through your open windows. Let go of Alt to switch.
- Hold **Alt** and tap **Tab** once to jump straight back to the window you were just in.
- Hold **Alt + Shift** and tap **Tab** to go backward.

| What you want                             | Press                          |
| :---------------------------------------- | :----------------------------- |
| Switch to another window                  | **Alt + Tab**                  |
| See every open window at once             | **Windows + Tab**              |
| Open the 1st, 2nd, 3rd... app on the taskbar | **Windows + 1**, **Windows + 2**, **Windows + 3**... |
| Minimize everything and show the desktop  | **Windows + D** (press again to bring them back) |
| Minimize the current window               | **Windows + Down arrow**       |
| Close the tab or document                 | **Ctrl + W**                   |
| Close the window or app                   | **Alt + F4**                   |
| Open a new window                         | **Ctrl + N**                   |
| Force a frozen app to quit                | **Ctrl + Shift + Esc** opens Task Manager, select the app, **End task** |

**Ctrl + W** closes one tab. **Alt + F4** closes the whole window, and every tab in it. Check before you press.

---

## Side-by-side windows

You will often want two things visible at once: a chat with an AI model on one side and your editor or browser on the other. Windows calls this **Snap**.

**With the keyboard:**

| What you want                 | Press                                   |
| :---------------------------- | :-------------------------------------- |
| Fill the left half            | **Windows + Left arrow**                |
| Fill the right half           | **Windows + Right arrow**               |
| Fill the whole screen         | **Windows + Up arrow**                  |
| Put it back or minimize       | **Windows + Down arrow**                |
| Choose from a layout menu     | **Windows + Z** (Windows 11)            |

After you snap one window to a side, Windows shows thumbnails of your other windows so you can pick what goes on the other side. Click one, or press **Esc** to skip.

**With the mouse:**

1. Drag a window by its title bar to the left or right edge of the screen until you see an outline, then let go.
2. Do the same with a second window on the other side.

Or hover your pointer over the **maximize button** (the square, top-right corner) to see snap layouts and pick one.

To move a snapped window to the other side, press the opposite arrow. Press **Windows + Left** or **Right** again to cycle it across screens if you have a monitor plugged in.

---

## Editing text

These work in almost every app: browsers, chat windows, Zed, Cursor, Notepad.

| What you want                    | Press                                   |
| :------------------------------- | :-------------------------------------- |
| Jump to the start or end of the line | **Home** / **End**                  |
| Jump one word at a time          | **Ctrl + Left / Right arrow**           |
| Jump to the top or bottom        | **Ctrl + Home** / **Ctrl + End**        |
| Select while you jump            | Hold **Shift** with any of the above    |
| Delete the previous word         | **Ctrl + Backspace**                    |
| Delete the next word             | **Ctrl + Delete**                       |
| Select a word                    | Double-click it                         |
| Select a whole paragraph         | Triple-click it                         |
| Insert an emoji                  | **Windows + .** (period)                |

**Selecting text to copy:** click where you want to start, then hold **Shift** and click where you want to end. Everything in between is selected. This beats dragging across a long chat response.

---

## The browser

These work in Chrome, Edge, Firefox, and Arc.

| What you want                    | Press                                   |
| :------------------------------- | :-------------------------------------- |
| Go to the address bar            | **Ctrl + L**, then type                 |
| New tab                          | **Ctrl + T**                            |
| Close the tab                    | **Ctrl + W**                            |
| Reopen the tab you just closed   | **Ctrl + Shift + T**                    |
| Move between tabs                | **Ctrl + Tab** and **Ctrl + Shift + Tab** |
| Jump to a specific tab           | **Ctrl + 1** through **Ctrl + 8**, **Ctrl + 9** for the last tab |
| Reload the page                  | **F5** or **Ctrl + R**                  |
| Zoom in, out, or reset           | **Ctrl + Plus**, **Ctrl + Minus**, **Ctrl + 0** |
| Find text on the page            | **Ctrl + F**                            |
| Open a link in a new tab         | Hold **Ctrl** and click the link        |
| Private (incognito) window       | **Ctrl + Shift + N**                    |
| Full screen                      | **F11** (press again to leave)          |
| Scroll down one screen           | **Space bar**                           |

---

## File Explorer and files

| What you want                    | Press                                   |
| :------------------------------- | :-------------------------------------- |
| Open File Explorer               | **Windows + E**                         |
| New folder                       | **Ctrl + Shift + N**                    |
| Rename the selected file         | **F2**, type the name, **Enter**        |
| Open the selected file           | **Enter**                               |
| Go up to the parent folder       | **Alt + Up arrow**                      |
| Go back                          | **Alt + Left arrow**                    |
| Delete (to the Recycle Bin)      | **Delete**                              |
| Delete permanently               | **Shift + Delete** (careful, no undo)   |
| Properties (size, type, location) | **Alt + Enter**                        |
| Copy the file's path             | Right-click → **Copy as path**          |

**See file extensions.** Windows hides them by default, which makes `notes.md`, `notes.txt`, and `notes.html` all look like "notes." In File Explorer, choose **View → Show → File name extensions** (Windows 11) or **View → File name extensions** (Windows 10). This course cares about the difference, so keep it on.

**Find where a file lives.** Click in the address bar at the top of File Explorer to see the full path. Or right-click the file and choose **Copy as path**.

**Open a folder in Terminal.** In File Explorer, right-click empty space in the folder and choose **Open in Terminal**.

---

## Everything else

| What you want                    | Press                                   |
| :------------------------------- | :-------------------------------------- |
| Take a screenshot                | **Windows + Shift + S** — see [Take a screenshot](take-a-screenshot.guide.md) |
| Lock the screen                  | **Windows + L**                         |
| Open Settings                    | **Windows + I**                         |
| Open Terminal                    | **Windows key**, type `terminal`, **Enter** |
| Switch to another virtual desktop | **Windows + Ctrl + Left / Right arrow** |
| Zip a folder                     | Right-click → **Compress to ZIP file** — see [Create a zip folder](create-zip-folder.guide.md) |

---

## Common mistakes

- **Closing the whole browser.** Alt + F4 closes every tab in the window. Ctrl + W closes just the one you are on. If you close too much, Ctrl + Shift + T brings tabs back.
- **The file has no extension.** It probably does; Windows is hiding it. Turn on **File name extensions** (above) so you can see and change it.
- **Losing a window.** If a window vanished, it is probably minimized. Alt + Tab to it, or click its icon on the taskbar.
- **Landed on another desktop.** If everything disappeared and Alt + Tab shows nothing, you may have pressed Windows + Ctrl + Right. Press **Windows + Ctrl + Left** to come back.
- **Shortcut does nothing.** Most shortcuts only act on the window that is in front. Click the window first, then press the keys.
