Practical keybindings for Emmet on VS Code
Balance (Outward / Inward):
- Mac: Cmd + M Cmd + O / Cmd + M Cmd + I
- Windows/Linux: Ctrl + M Ctrl + O / Ctrl + M Ctrl + I
- Mac: Cmd + M Cmd + E
- Windows/Linux: Ctrl + M Ctrl + E
- Mac: Cmd + M Cmd + M
- Windows/Linux: Ctrl + M Ctrl + M
- Mac: Cmd + M Cmd + Backspace
- Windows/Linux: Ctrl + M Ctrl + Backspace
- Mac: Cmd + M Cmd + /
- Windows/Linux: Ctrl + M Ctrl + /
- Mac: Cmd + M Cmd + L
- Windows/Linux: Ctrl + M Ctrl + L
- Mac: Cmd + M Ctrl + W
- Windows/Linux: Ctrl + M Ctrl + W
Command | Mac | Windows |
---|---|---|
Balance (Inward) | Cmd + M Cmd + I | Ctrl + M Ctrl + I |
Balance (Outward) | Cmd + M Cmd + O | Ctrl + M Ctrl + O |
Evaluate Math Expression | Cmd + M Cmd + E | Ctrl + M Ctrl + E |
Go to Matching Pair | Cmd + M Cmd + M | Ctrl + M Ctrl + M |
Go to Next Edit Point | Cmd + M Cmd + K | Ctrl + M Ctrl + K |
Go to Previous Edit Point | Cmd + M Cmd + J | Ctrl + M Ctrl + J |
Merge Lines | Cmd + M Cmd + Shift + M | Ctrl + M Ctrl + Shift + M |
Reflect CSS Value | Cmd + M Cmd + R | Ctrl + M Ctrl + R |
Remove Tag | Cmd + M Cmd + Backspace | Ctrl + M Ctrl + Backspace |
Select Next Item | Cmd + M Cmd + . | Ctrl + M Ctrl + . |
Select Previous Item | Cmd + M Cmd + , | Ctrl + M Ctrl + , |
Split/Join Tag | Cmd + M Cmd + S | Ctrl + M Ctrl + S |
Toggle Comment | Cmd + M Cmd + / | Ctrl + M Ctrl + / |
Update Image Size | Cmd + M Cmd + U | Ctrl + M Ctrl + U |
Update Tag | Cmd + M Cmd + T | Ctrl + M Ctrl + T |
Wrap Individual Lines with Abbreviation | Cmd + M Cmd + L | Ctrl + M Ctrl + L |
Wrap with Abbreviation | Cmd + M Cmd + W | Ctrl + M Ctrl + W |
Show Emmet Commands | Cmd + M Cmd + C | Ctrl + M Ctrl + C |