All vscode Keyboard Shortcuts
Windows & Linux Sync Keyboard Shortcuts
How do I sync keyboard shortcuts across platforms (Linux, Windows, Mac)?
Internal settings do not support this option.
I copied keybindings.json
when I being in Linux to Windows disk:
cp ~/.config/Code/User/keybindings.json '/mnt/sdc1/Users/parsh/Application Data/Code/User/'
Auto Sync
Synchronization in vscode
can be performed automatically after loggin into vscode
and enabling Settings Sync
option.
info
You need to be logged into the same account on both OS. (e.g. PaPa31 (GitHub) on Linux & PaPa31 (GitHub) on Windows)
Keyboard Shortcuts List
Keyboard Shortcut | How Did | Description | Result | |
---|---|---|---|---|
1 | Ctrl+k t | copy/past to keybindings.json | Insert readable Date & Time | 2021-02-05 20:22:46 |
2 | Ctrl+k Shift+t | see above | Insert unreadable Date & Time | 20210205202330 |
3 | Change Shift+Alt+/ Ctrl+Shift+/ | Press Ctrl+Shift+P > type Emmet: Wrap with Abbreviation > press gear icon | Wrap with some HTML-tags | type log2 > select 2 > Ctrl+Shift+/ > type sub + Enter > log2 |
4 | Ctrl+e Up | Snippet + Shortcut | Wrap with <sup> tags | 23 -> 23 |
5 | Ctrl+e Down | see above | Wrap with <sub> tags | log2 -> log2 |
6 | Ctrl+e t | see above | Wrap with <textarea> and some text | <textarea>Your answer:</textarea> |
7 | Ctrl+g c | NOTE, TIP, IMPORTANT, CAUTION, WARNING | add markdown admonition | ::: ::: |
8 | Ctrl+g t | add markdown code block | ``` ``` | |
Ctrl+g s | add md code block with shell type | ```shell ``` | ||
9 | Alt+g c | Macro: createAutoFrontmatter | add markdown frontmatter | --- ... --- |
10 | Ctrl+g a | make external link with 2 vars | 1st var -> copy some link; 2nd var highlight some text | Prettier |
11 | Ctrl+g y | insert advanced code block | jsx title="App.js" {} | |
12 | Alt+g a | AutoAnchor: make external link using copied link | Caution: place cursor at start of line | code.visualstudio.com: Your First Extension |
13 | Alt+g Shift+s | AutoAnchor with "Source:" | ||
14 | Alt+g Shift+r | AutoAnchor with "Read more:" | ||
15 | Ctrl+Alt+1 or Ctrl+1 | Open default browser | ||
16 | Alt+g f | Inspect TM scopes | ||
17 | Ctrl+n | open new file | ||
18 | Ctrl+Alt s | save all files | ||
19 | Ctrl+K Ctrl+w | close all tabs | ||
20 | Alt+G u | Macro: updateAutoFrontmatter | ||
21 | Ctrl+g i | make md clickable image below selected Header | [![](.png)](.png) |