My Favorite Top 15 VS Code Keyboard Shortcuts

A list of shortcuts for fast and efficient development on macOS

Man Using Laptop on Table Against White Background

1. Format Document

shift + ⌥ + F

2. Cursor Left/Right Select

shift + ← / →

3. Move by Word

⌥ + ← / →

4. Go To Start & End Of File

⌘ + ↑ / ↓

5. Insert Additional Cursor

⌥ + click

6. Move Line Up/Down

⌥ + ↑ / ↓

7. Copy Line Up/Down

shift + ⌥ + ↑ / ↓

8. Insert Line Above/Below

Above - shift +⌘ + enter

Below - ⌘ + enter

9. Jump To Matching Bracket

shift + ⌘ + \

10. Toggle Line Comment

⌘ + /

11. Toggle Block Comment

shift +⌥ + A

12. Select/Deselect Next Match

Select - ⌘ + D

De-select - ⌘ + U

13. Add Cursors to Line Ends

shift +⌥ + i

14. Box Selection — Add Cursors to Line Ends

shift +⌥ + drag mouse

15. Find & Replace

Find - ⌘ + F

Replace - ⌘ + enter

Resources

Creativity is my Passion