Emmet Keybindings for VS Code
Practical keybindings for Emmet on VS Code
Balance (Outward/Inward)
Balance (Outward / Inward):
- Mac: Cmd + M Cmd + O / Cmd + M Cmd + I
- Windows/Linux: Ctrl + M Ctrl + O / Ctrl + M Ctrl + I
Evaluate Math Expression
- Mac: Cmd + M Cmd + E
- Windows/Linux: Ctrl + M Ctrl + E
Go to Matching Pair
- Mac: Cmd + M Cmd + M
- Windows/Linux: Ctrl + M Ctrl + M
Remove Tag
- Mac: Cmd + M Cmd + Backspace
- Windows/Linux: Ctrl + M Ctrl + Backspace
- Mac: Cmd + M Cmd + /
- Windows/Linux: Ctrl + M Ctrl + /
Wrap Individual Lines with Abbreviation
- Mac: Cmd + M Cmd + L
- Windows/Linux: Ctrl + M Ctrl + L
Wrap with Abbreviation
- Mac: Cmd + M Ctrl + W
- Windows/Linux: Ctrl + M Ctrl + W
Keybindings
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 + = |
Ctrl + M Ctrl + = |
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 |
Decrement by 0.1 |
Alt + Cmd + M Alt + Cmd + ↓ |
Ctrl + Alt + M Ctrl + Alt + ↓ |
Decrement by 1 |
Cmd + M Cmd + ↓ |
Ctrl + M Ctrl + ↓ |
Decrement by 10 |
Shift + Cmd + M Shift + Cmd + ↓ |
Ctrl + Shift + M Ctrl + Shift + ↓ |
Increment by 0.1 |
Alt + Cmd + M Alt + Cmd + ↑ |
Ctrl + Alt + M Ctrl + Alt + ↑ |
Increment by 1 |
Cmd + M Cmd + ↑ |
Ctrl + M Ctrl + ↑ |
Increment by 10 |
Shift + Cmd + M Shift + Cmd + ↑ |
Ctrl + Shift + M Ctrl + Shift + ↑ |
| |