VSCode shortcuts
· 2 min read
If you are an engineer that interact with code all the time you might want to get used to what ever editor shortcuts that you might use like VIM, Jetbrain, sublime text, or nano (anyone still use those)?
This is shortcuts for non of the above, VSCode.
Mac OS
- Highlight text -> CMD + D: Hightlight the same thing you highlight in the same file
- CMD + P: Open Search files by name with fuzzy search
- CMD + SHIFT + P: Open Command pattlet
- CMD + Return: Make a new line, you don't have to be at the end of the line to do this, can be in the middle, the content after the cursor won't be in the new line, your cursor will move to the beginning of the new line. Some how I miss all the time I just navigate the to the end of the line and press return
- CMD + ↑: go to the top of the file
- CMD + →: go to the right most of the line
- CMD + ↓: go to the bottom of the file
- CMD + ←: go to the left most of the line