Visual Studio Code Keyboard Shortcuts
Use                                               Linux / Win                 macOS
Show All Commands
Opens Command Palette
                                                                           CTRL + SHIFT + P or F1    SHIFT +   ⌘ + P or F1
Split Vertically Or Horizontally
View codes of multiple files at once
                                                                                   CTRL + \                    ⌘+\
To change focus into editor group                                          CTRL + 1/2/3               ⌘ + 1/2/3
Either use number or arrow keys                                            CTRL + K CTRL +    ← /→    ⌘ + K ⌘ + ← /→
Toggle Integrated Terminal
Execute the task quickly without switching windows
                                                                                  CTRL + `                 ⌘+`
Go To File
Search and navigating to a file in a repository
                                                                                  CTRL + P                 ⌘+P
Go To Line
                                                                                  CTRL + G                     ^+G
Jump to a specific line
Search Complete Project
Search for text, variable, or function in whole project
                                                                              CTRL + SHIFT + F          ⌘ + SHIFT + F
Zen Mode
Distraction-free environment to stay more focused
                                                                                 CTRL + K Z                ⌘+KZ
Add Selection To Next Find Match
Select the next occurrences of a selected text
                                                                                  CTRL + D                 ⌘+D
Toggle Line Comment
Reach start of a line and add double forward slash to comment
                                                                                   CTRL + /                    ⌘+/
Jump To The Beginning Or End Of File
Quickly reach either start or end of the file
                                                                             CTRL + HOME/END              ⌘ + ↑ /↓
Code Folding Or Unfolding
Collapse/uncollapse a region of code
                                                                             CTRL + SHIFT + [ or ]      ⌥+     ⌘ + [ or ]
Peek Implementation
To understand the working of functions and variables
                                                                             CTRL + SHIFT + F12       ⌘ + SHIFT + F12
Delete Current Line
Sum up two tasks of selecting a current line and pressing delete
                                                                              CTRL + SHIFT + K         SHIFT +   ⌘+K
Find And Replace                                                                  CTRL + F                ⌘+F
Find and replace all occurrences of a text in a file with a new one               CTRL + H               ⌥+⌘+F
Keyboard Shortcuts
View all available commands for your editor
                                                                              CTRL + K CTRL + S         ⌘+K⌘+S
                                                                      https://itsfoss.com/vs-code-shortcuts/