Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.48 KB

custom-keyboard-shortcuts.md

File metadata and controls

20 lines (14 loc) · 1.48 KB

Custom keyboard shortcuts

It's super quick and easy to customize keyboard shortcuts in VS Code. It can be as quick as 10 seconds!

Screen.Recording.2022-07-22.at.23.48.29.mov

image


image

  • Open the Command Palette with Cmd + Shift + P
  • Type the name of the command you're interested in.
  • Click the gear-shaped icon that appears when you hover over the command you're interested in. This will open a Keyboard Shortcuts tab.
  • Click the pencil or + button on the left of the command.
  • Press the keyboard shortcut you want to assign. VS Code will tell you if there's already another command with that shortcut.
  • Press Enter
  • Profit

PS. VS Code allows crazy chorded shortcuts that basically combine 2 shortcuts into 1. I won't go into it because I don't personally use them, but there's loads of info in their docs. Note that developers also use the term keybindings, but that can also mean an entire set of keyboard shortcuts rather than just one individual shortcut. I use the Keyboard Shortcuts because everybody recognizes it and VS Code uses it too.