Skip to main content

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

Default hotkeys(shortcuts)

Keyboard ShortcutHow DidDescriptionResult
1Ctrl+k tcopy/past to keybindings.jsonInsert readable Date & Time2021-02-05 20:22:46
2Ctrl+k Shift+tsee aboveInsert unreadable Date & Time20210205202330
3Change Shift+Alt+/ to Ctrl+Shift+/Press Ctrl+Shift+P> type Emmet: Wrap with Abbreviation > press gear iconWrap with some HTML-tagstype log2 > select 2 > Ctrl+Shift+/ > type sub + Enter > log2
4Ctrl+e UpSnippet + ShortcutWrap with <sup> tags23 -> 23
5Ctrl+e Downsee aboveWrap with <sub> tagslog2 -> log2
6Ctrl+e tsee aboveWrap with <textarea> and some text<textarea>Your answer:</textarea>
7Ctrl+g cNOTE, TIP, IMPORTANT, CAUTION, WARNINGadd markdown admonition::: :::
8Ctrl+g tadd markdown code block``` ```
Ctrl+g sadd md code block with shell type```shell ```
9Alt+g cMacro: createAutoFrontmatteradd markdown frontmatter--- ... ---
10Ctrl+g amake external link with 2 vars1st var -> copy some link; 2nd var highlight some textPrettier
11Ctrl+g yinsert advanced code blockjsx title="App.js" {}
12Alt+g aAutoAnchor: make external link using copied linkCaution: place cursor at start of linecode.visualstudio.com: Your First Extension
13Alt+g Shift+sAutoAnchor with "Source:"
14Alt+g Shift+rAutoAnchor with "Read more:"
15Ctrl+Alt+1 or Ctrl+1Open default browser
16Alt+g fInspect TM scopes
17Ctrl+nopen new file
18Ctrl+Alt ssave all files
19Ctrl+K Ctrl+wclose all tabs
20Alt+G uMacro: updateAutoFrontmatter
21Ctrl+g imake md clickable image below selected Header[![](.png)](.png)