Skip to content

Instantly share code, notes, and snippets.

@vianneychin
Last active August 11, 2021 04:12
Show Gist options
  • Save vianneychin/6634de012268f822c41f3feaa46b72b3 to your computer and use it in GitHub Desktop.
Save vianneychin/6634de012268f822c41f3feaa46b72b3 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
{"lastUpload":"2021-08-11T04:12:25.271Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
}
]
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+3",
"command": "-workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+4",
"command": "-workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+5",
"command": "-workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+6",
"command": "-workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+7",
"command": "-workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+8",
"command": "-workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+9",
"command": "-workbench.action.openEditorAtIndex9"
},
{
"key": "cmd+n",
"command": "extension.advancedNewFile"
},
{
"key": "alt+cmd+n",
"command": "-extension.advancedNewFile"
},
{
"key": "alt+cmd+down",
"command": "workbench.action.moveActiveEditorGroupDown"
},
{
"key": "cmd+k down",
"command": "-workbench.action.moveActiveEditorGroupDown"
},
{
"key": "alt+cmd+left",
"command": "workbench.action.moveActiveEditorGroupLeft"
},
{
"key": "cmd+k left",
"command": "-workbench.action.moveActiveEditorGroupLeft"
},
{
"key": "cmd+k right",
"command": "-workbench.action.moveActiveEditorGroupRight"
},
{
"key": "alt+cmd+up",
"command": "workbench.action.moveActiveEditorGroupUp"
},
{
"key": "cmd+k up",
"command": "-workbench.action.moveActiveEditorGroupUp"
},
{
"key": "shift+cmd+c",
"command": "copyRelativeFilePath",
"when": "!editorFocus"
},
{
"key": "shift+alt+cmd+c",
"command": "-copyRelativeFilePath",
"when": "!editorFocus"
},
{
"key": "shift+cmd+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "alt+cmd+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+left",
"command": "-workbench.action.previousEditor"
},
{
"key": "alt+cmd+left",
"command": "workbench.action.moveEditorLeftInGroup"
},
{
"key": "cmd+k shift+cmd+left",
"command": "-workbench.action.moveEditorLeftInGroup"
},
{
"key": "alt+cmd+right",
"command": "workbench.action.moveEditorRightInGroup"
},
{
"key": "cmd+k shift+cmd+right",
"command": "-workbench.action.moveEditorRightInGroup"
},
{
"key": "alt+cmd+right",
"command": "-workbench.action.nextEditor"
},
{
"key": "alt+cmd+right",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+right",
"command": "workbench.action.focusRightGroup"
},
{
"key": "cmd+k cmd+right",
"command": "-workbench.action.focusRightGroup"
},
{
"key": "alt+cmd+left",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "cmd+k cmd+left",
"command": "-workbench.action.focusLeftGroup"
},
{
"key": "alt+cmd+up",
"command": "workbench.action.focusAboveGroup"
},
{
"key": "cmd+k cmd+up",
"command": "-workbench.action.focusAboveGroup"
},
{
"key": "alt+cmd+down",
"command": "workbench.action.focusBelowGroup"
},
{
"key": "cmd+k cmd+down",
"command": "-workbench.action.focusBelowGroup"
},
{
"key": "ctrl+cmd+right",
"command": "workbench.action.moveActiveEditorGroupRight"
},
{
"key": "ctrl+cmd+up",
"command": "workbench.action.moveEditorToAboveGroup"
},
{
"key": "ctrl+cmd+down",
"command": "workbench.action.moveEditorToBelowGroup"
},
{
"key": "ctrl+cmd+left",
"command": "workbench.action.moveEditorToLeftGroup"
},
{
"key": "alt+-",
"command": "workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "ctrl+-",
"command": "-workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "alt+-",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "shift+alt+-",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "shift+cmd+g",
"command": "-workbench.action.terminal.findPrevious",
"when": "terminalFindWidgetFocused"
},
{
"key": "shift+cmd+g",
"command": "-workbench.action.terminal.findPrevious",
"when": "terminalFocus"
},
{
"key": "shift+cmd+g",
"command": "-editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "alt+g",
"command": "workbench.view.scm",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "alt+enter",
"command": "-debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "alt+enter",
"command": "-editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "alt+enter",
"command": "editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "shift+f10",
"command": "-editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "shift+cmd+g",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+f3",
"command": "-editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+cmd+b",
"command": "-workbench.action.tasks.build"
},
{
"key": "shift+cmd+b",
"command": "workbench.view.extension.bookmarks"
},
{
"key": "ctrl+up",
"command": "block-travel.jumpUp",
"when": "editorTextFocus"
},
{
"key": "alt+up",
"command": "-block-travel.jumpUp",
"when": "editorTextFocus"
},
{
"key": "ctrl+down",
"command": "block-travel.jumpDown",
"when": "editorTextFocus"
},
{
"key": "alt+down",
"command": "-block-travel.jumpDown",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "block-travel.selectUp",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "-block-travel.selectUp",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "block-travel.selectDown",
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "-block-travel.selectDown",
"when": "editorTextFocus"
},
{
"key": "ctrl+right",
"command": "workbench.action.nextEditor"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.nextEditor"
},
{
"key": "ctrl+left",
"command": "workbench.action.previousEditor"
},
{
"key": "shift+cmd+[",
"command": "-workbench.action.previousEditor"
},
{
"key": "cmd+r",
"command": "editor.emmet.action.matchTag"
},
{
"key": "cmd+r",
"command": "-workbench.action.reloadWindow",
"when": "isDevelopment"
}
]
{
"workbench.colorTheme": "Default Light+",
"sync.gist": "6634de012268f822c41f3feaa46b72b3"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment