VS Code Shortcuts:
- Hide/Show Sidebar: Ctrl+Alt+B
- Focus on main Window: Ctrl+1
- Focus on Sidebar: Ctrl+0
- Stage & Commit: Ctrl+Shift+G
- Push to Git: Open Command Pallete by Ctrl+Shift+P, then search
Push - Open Keyboard Shortcuts Window: Ctrl+K Ctrl+S
Staging, Committing, & Pushing:
| Stage | Commit | Push |
|---|---|---|
| Prepares changes for commit. | Saves changes to the local history. | Sends changes to a remote repository. |
| Affects the staging area. | Affects the local repository. | Affects the remote repository. |
Command: git add |
Command: git commit |
Command: git push |
Markdown Specific Shortcuts:
| Action | Shortcut |
|---|---|
| Open Markdown File | Ctrl + O |
| Open Preview to the Side | Ctrl + K V |
| Split Editor Vertically | Ctrl + \ |
| Switch Between Editor Panes | Ctrl + 1, Ctrl + 2 |
| Open Command Palette | Ctrl + Shift + P |
| Open Preview in Current Pane | Ctrl + Shift + V |
| Close Active Tab | Ctrl + W |
| Focus on Next Editor Group | Ctrl + K Ctrl + Right Arrow |
| Focus on Previous Editor Group | Ctrl + K Ctrl + Left Arrow |