If you get these 15 keyboard shortcuts under your fingers, youβll dramatically speed up your coding productivity. You can find a more extensive list for either Windows or MacOS here:
Note: If these are new to you, start with one or two and then return for more once you master a few. Before long, youβll forget how to use a mouse π.
Sidebar
- β + B (toggle sidebar)
- β + β§ + E (open file explorer in the sidebar)
- β + β§ + F (open search panel in the sidebar)
- β + β§ + X (open extensions panel in the sidebar)
Tabs/Files
- β + P (open file)
- β + β + β OR β + β + β (split/collapse tab to the right OR left)
- β₯ + β + β OR β₯ + β + β (rotate through tabs in a panel)
- β + w (close current tab)
Multi selects
- β + d (select next instance in file)
- β + β§ + l (select all instances in file)
- β₯ + β + β OR β₯ + β + β (add cursor up/down)
- β₯ and Click (add/remove cursor)
Symbols/Function Definitions
- β (hover to peek definition; click to go to definition)
- F2 (rename selected symbol)
Command Palette shortcut
- β + β§ + P (open command palette)