Skip to content

Instantly share code, notes, and snippets.

@Imymirror
Last active July 26, 2022 07:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Imymirror/df3b3a5e832c1f3cb7423786836d6abd to your computer and use it in GitHub Desktop.
Save Imymirror/df3b3a5e832c1f3cb7423786836d6abd to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-11-15T18:58:26.559Z","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"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.17.1"
},
{
"metadata": {
"id": "47ddeb9c-b4bb-4594-906b-412886e20e47",
"publisherId": "VSpaceCode.whichkey",
"publisherDisplayName": "VSpaceCode"
},
"name": "whichkey",
"publisher": "VSpaceCode",
"version": "0.8.2"
}
]
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown"
},
]
{
"workbench.activityBar.visible": false,
"workbench.editor.pinnedTabSizing": "shrink",
"workbench.editor.tabCloseButton": "off",
"workbench.editor.tabSizing": "shrink",
"window.zoomLevel": 0,
"extensions.ignoreRecommendations": true,
"editor.minimap.enabled": false,
"vim.leader": "\\",
"vim.easymotion": true,
"vim.timeout": 3000,
"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.defaultIM": "com.apple.keylayout.US",
"vim.autoSwitchInputMethod.obtainIMCmd": "/usr/local/bin/im-select",
"vim.autoSwitchInputMethod.switchIMCmd": "/usr/local/bin/im-select {im}",
"vim.normalModeKeyBindingsNonRecursive": [
// vim whichkey
{
"before": [
"<space>"
],
"commands": [
"whichkey.show"
]
},
// vim j k
{
"before": [
"j"
],
"after": [
"g",
"j"
]
},
{
"before": [
"k"
],
"after": [
"g",
"k"
]
},
// vim easymotion
{
"before": [
"g",
"s",
" "
],
"after": [
"leader",
"leader",
"s"
]
},
{
"before": [
"g",
"s",
"j"
],
"after": [
"leader",
"leader",
"j"
]
},
{
"before": [
"g",
"s",
"k"
],
"after": [
"leader",
"leader",
"k"
]
},
{
"before": [
"g",
"s",
"w"
],
"after": [
"leader",
"leader",
"w"
]
},
{
"before": [
"g",
"s",
"b"
],
"after": [
"leader",
"leader",
"b"
]
},
],
"vim.visualModeKeyBindingsNonRecursive": [
// vim whichkey
{
"before": [
"<space>"
],
"commands": [
"whichkey.show"
]
},
],
"vim.operatorPendingModeKeyBindingsNonRecursive": [
{
"before": [
"L"
],
"after": [
"$"
]
},
{
"before": [
"H"
],
"after": [
"^"
]
}
],
"whichkey.bindings": [
{
"key": " ",
"name": "Commands...",
"type": "command",
"command": "workbench.action.showCommands"
},
{
"key": "a",
"name": "+<localleader>",
"type": "bindings",
"bindings": [
{
"key": "u",
"name": "PasteURL",
"type": "command",
"command": "pasteURL.PasteURL"
},
{
"key": "i",
"name": "pasteImage",
"type": "command",
"command": "extension.pasteImage"
},
]
},
{
"key": "b",
"name": "+buffers/editors...",
"type": "bindings",
"bindings": [
{
"key": "b",
"name": "Show all buffers/editors",
"type": "command",
"command": "workbench.action.showAllEditors"
},
{
"key": "B",
"name": "Show all buffers/editors in active group",
"type": "command",
"command": "workbench.action.showEditorsInActiveGroup"
},
{
"key": "d",
"name": "Close active editor",
"type": "command",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "c",
"name": "Close other editors",
"type": "command",
"command": "workbench.action.closeOtherEditors"
},
{
"key": "n",
"name": "Next editor",
"type": "command",
"command": "workbench.action.nextEditor"
},
{
"key": "p",
"name": "Previous editor",
"type": "command",
"command": "workbench.action.previousEditor"
},
{
"key": "y",
"name": "Copy path of active file",
"type": "command",
"command": "workbench.action.files.copyPathOfActiveFile"
},
{
"key": "f",
"name": "Open file/folder",
"type": "command",
"command": "workbench.action.files.openFileFolder"
},
{
"key": "n",
"name": "New Untitled",
"type": "command",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "s",
"name": "Save file",
"type": "command",
"command": "workbench.action.files.save"
},
{
"key": "S",
"name": "Save all files",
"type": "command",
"command": "workbench.action.files.saveAll"
},
{
"key": "r",
"name": "Open recent...",
"type": "command",
"command": "workbench.action.openRecent"
},
{
"key": "R",
"name": "Rename file",
"type": "commands",
"commands": [
"workbench.files.action.showActiveFileInExplorer",
"renameFile"
]
},
{
"key": "t",
"name": "pin current Editor to top ",
"type": "command",
"command": "workbench.action.pinEditor"
},
{
"key": "T",
"name": "unpin Editor",
"type": "command",
"command": "workbench.action.unpinEditor"
},
{
"key": "l",
"name": "Change file language",
"type": "command",
"command": "workbench.action.editor.changeLanguageMode"
},
{
"key": "=",
"name": "Format file",
"type": "command",
"command": "editor.action.formatDocument"
},
{
"key": "H",
"name": "Move editor into left group",
"type": "command",
"command": "workbench.action.moveEditorToLeftGroup"
},
{
"key": "J",
"name": "Move editor into below group",
"type": "command",
"command": "workbench.action.moveEditorToBelowGroup"
},
{
"key": "K",
"name": "Move editor into above group",
"type": "command",
"command": "workbench.action.moveEditorToAboveGroup"
},
{
"key": "L",
"name": "Move editor into right group",
"type": "command",
"command": "workbench.action.moveEditorToRightGroup"
}
]
},
{
"key": "n",
"name": "+navigation",
"type": "bindings",
"bindings": [
{
"key": "e",
"name": "Show explorer",
"type": "command",
"command": "workbench.view.explorer"
},
{
"key": "s",
"name": "Show search",
"type": "command",
"command": "workbench.view.search"
},
{
"key": "g",
"name": "Show source control",
"type": "command",
"command": "workbench.view.scm"
},
{
"key": "r",
"name": "Show remote explorer",
"type": "command",
"command": "workbench.view.remote"
},
{
"key": "x",
"name": "Show extensions",
"type": "command",
"command": "workbench.view.extensions"
},
{
"key": "t",
"name": "Show terminal",
"type": "command",
"command": "workbench.action.terminal.toggleTerminal"
}
]
},
{
"key": "o",
"name": "+open",
"type": "bindings",
"bindings": [
{
"key": "r",
"name": "openRecent...",
"type": "command",
"command": "workbench.action.openRecent"
},
{
"key": "l",
"name": "openLink",
"type": "command",
"command": "editor.action.openLink"
},
{
"key": "o",
"name": "reveal current File In Finder",
"type": "command",
"command": "revealFileInOS"
},
{
"key": "O",
"name": "reveal current File In Finder",
"type": "command",
"command": "workbench.action.files.revealActiveFileInWindows"
},
]
},
{
"key": "s",
"name": "+search",
"type": "bindings",
"bindings": [
{
"key": "b",
"name": "search in the buffer",
"type": "command",
"command": "actions.find",
"condition": {
"when": "sideBarVisible && explorerViewletVisible"
}
},
{
"key": "p",
"name": "Search project",
"type": "command",
"command": "workbench.action.findInFiles"
},
{
"key": "P",
"name": "Search in a project with a selection",
"type": "commands",
"commands": [
"editor.action.addSelectionToNextFindMatch",
"workbench.action.findInFiles"
]
},
{
"key": "s",
"name": "Jump to symbol in file",
"type": "command",
"command": "workbench.action.gotoSymbol"
},
{
"key": "S",
"name": "Jump to symbol in workspace",
"type": "command",
"command": "workbench.action.showAllSymbols"
}
]
},
{
"key": "w",
"name": "+window",
"type": "bindings",
"bindings": [
{
"key": "-",
"name": "Split editor below",
"type": "command",
"command": "workbench.action.splitEditorDown"
},
{
"key": "/",
"name": "Split editor right",
"type": "command",
"command": "workbench.action.splitEditor"
},
{
"key": "s",
"name": "Split editor below",
"type": "command",
"command": "workbench.action.splitEditorDown"
},
{
"key": "v",
"name": "Split editor right",
"type": "command",
"command": "workbench.action.splitEditor"
},
{
"key": "=",
"name": "Reset editor group sizes",
"type": "command",
"command": "workbench.action.evenEditorWidths"
},
{
"key": "t",
"name": "Toggle editor group sizes",
"type": "command",
"command": "workbench.action.toggleEditorWidths"
},
{
"key": "n",
"name": "Open active in new window",
"type": "command",
"command": "workbench.action.files.showOpenedFileInNewWindow"
},
{
"key": "w",
"name": "Switch window",
"type": "command",
"command": "workbench.action.switchWindow"
},
{
"key": "h",
"name": "Move editor left",
"type": "command",
"command": "workbench.action.focusPreviousGroup"
},
{
"key": "j",
"name": "Move editor down",
"type": "command",
"command": "workbench.action.focusBelowGroup"
},
{
"key": "k",
"name": "Move editor up",
"type": "command",
"command": "workbench.action.focusAboveGroup"
},
{
"key": "l",
"name": "Move editor right",
"type": "command",
"command": "workbench.action.focusNextGroup"
},
{
"key": "H",
"name": "Move editor group left",
"type": "command",
"command": "workbench.action.moveActiveEditorGroupLeft"
},
{
"key": "J",
"name": "Move editor group down",
"type": "command",
"command": "workbench.action.moveActiveEditorGroupDown"
},
{
"key": "K",
"name": "Move editor group up",
"type": "command",
"command": "workbench.action.moveActiveEditorGroupUp"
},
{
"key": "L",
"name": "Move editor group right",
"type": "command",
"command": "workbench.action.moveActiveEditorGroupRight"
},
{
"key": "m",
"name": "Maximize editor group",
"type": "command",
"command": "workbench.action.minimizeOtherEditors"
},
{
"key": "M",
"name": "Maximize editor group and hide side bar",
"type": "command",
"command": "workbench.action.maximizeEditor"
},
{
"key": "z",
"name": "Combine all editors",
"type": "command",
"command": "workbench.action.joinAllGroups"
},
{
"key": "d",
"name": "Close editor group",
"type": "command",
"command": "workbench.action.closeEditorsInGroup"
},
{
"key": "x",
"name": "Close all editor groups",
"type": "command",
"command": "workbench.action.closeAllGroups"
},
]
},
{
"key": "t",
"name": "+toggle",
"type": "bindings",
"bindings": [
{
"key": "u",
"name": "To lower case",
"type": "command",
"command": "editor.action.transformToLowercase"
},
{
"key": "U",
"name": "To upper case",
"type": "command",
"command": "editor.action.transformToUppercase"
},
{
"key": "i",
"name": "Organize Imports",
"type": "command",
"command": "editor.action.organizeImports"
},
{
"key": "R",
"name": "Refactor",
"type": "command",
"command": "editor.action.refactor"
},
{
"key": ".",
"name": "Quick fix",
"type": "command",
"command": "editor.action.quickFix"
},
{
"key": "a",
"name": "Find all references",
"type": "command",
"command": "editor.action.referenceSearch.trigger"
},
]
},
{
"key": "1",
"name": "openEditorAtIndex1",
"type": "command",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "2",
"name": "openEditorAtIndex2",
"type": "command",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "3",
"name": "openEditorAtIndex3",
"type": "command",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "4",
"name": "openEditorAtIndex4",
"type": "command",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "5",
"name": "openEditorAtIndex5",
"type": "command",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "6",
"name": "openEditorAtIndex6",
"type": "command",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "7",
"name": "openEditorAtIndex7",
"type": "command",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "8",
"name": "openEditorAtIndex8",
"type": "command",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "9",
"name": "openEditorAtIndex9",
"type": "command",
"command": "workbench.action.openEditorAtIndex9"
},
],
"sync.gist": "df3b3a5e832c1f3cb7423786836d6abd",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment