| Shortcut | Description |
|---|---|
| F1 | Open command palette |
| Ctrl + Z | Undo last edit |
| Ctrl + Y | Redo last edit |
| Ctrl + X | Cut line (empty selection) |
| Ctrl + C | Copy line (empty selection) |
| Ctrl + K, Ctrl + X | Trim trailing whitespace from selection |
| Alt + ↑ / ↓ | Move line up/down |
| Shift + Alt + ↑ / ↓ | Copy line up/down |
| Ctrl + Shift + K | Delete line |
| Ctrl + Enter | Insert line below |
| Ctrl + Shift + Enter | Insert line above |
| Ctrl + ] / [ | Indent/outdent line |
| Home / End | Go to beginning/end of line |
| Ctrl + Home | Go to beginning of file |
| Ctrl + End | Go to end of file |
| Ctrl + ↑ / ↓ | Scroll line up/down |
| Alt + PgUp / PgDn | Scroll page up/down |
| Shortcut | Description |
|---|---|
| Ctrl + B | Make text bold |
| Ctrl + I | Make text italic |
| Ctrl + G | Strikethrough text |
| Ctrl + 2 | Create unordered list |
| Ctrl + 3 | Create ordered list |
| Ctrl + H | Insert a link (selection or empty selection) |
| Ctrl + T | Insert a markdown table (opens the configuration menu) |
| Ctrl + K, _ | Insert a codeblock (_ = the underlined letter from the menu) |
| Ctrl + L, _ | Insert an alert block (_ = the underlined letter from the menu) |
| Shortcut | Description |
|---|---|
| Ctrl + F | Find |
| Ctrl + H | Replace |
| F3 / Shift + F3 | Find next/previous |
| Alt + Enter | Select all occurrences of find match |
| Alt + C / R / W | Toggle case-sensitive / regex / whole word |
| Shortcut | Description |
|---|---|
| Alt + Click | Insert cursor |
| Ctrl + Alt + ↑ / ↓ | Insert cursor above/below |
| Shift + Alt + I | Insert cursor at end of each line selected |
| Ctrl + L | Select current line |
| Ctrl + F2 | Select all occurrences of current word |
| Shift + Alt + (Drag mouse) | Column (box) selection |
| Ctrl + Shift + Alt + ↑ / ↓ | Column (box) selection |
| Ctrl + Shift + Alt + PgUp / PgDn | Column (box) selection |
| (Mousewheel pressed + drag cursor) | Column (box) selection |