Skip to content

Instantly share code, notes, and snippets.

@ouzhenkun
Last active February 3, 2021 03:23
Show Gist options
  • Save ouzhenkun/b0d337e1e7599449382dd51e6f2fd1e2 to your computer and use it in GitHub Desktop.
Save ouzhenkun/b0d337e1e7599449382dd51e6f2fd1e2 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-02-03T03:22:55.031Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "2e9fe0cb-4e63-42fc-a809-fb056aad49c3",
"publisherId": "stevencl.addDocComments",
"publisherDisplayName": "stevencl"
},
"name": "addDocComments",
"publisher": "stevencl",
"version": "0.0.8"
},
{
"metadata": {
"id": "7a0110bb-231a-4598-aa1b-0769ea46d28b",
"publisherId": "aaron-bond.better-comments",
"publisherDisplayName": "aaron-bond"
},
"name": "better-comments",
"publisher": "aaron-bond",
"version": "2.0.5"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "11.4.0"
},
{
"metadata": {
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.11.1"
},
{
"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": "9734a8c6-1c74-4259-92ba-e4c3edf4a483",
"publisherId": "zh9528.file-size",
"publisherDisplayName": "zh9528"
},
"name": "file-size",
"publisher": "zh9528",
"version": "0.1.3"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.3"
},
{
"metadata": {
"id": "25adc849-5c3a-4dca-95b3-55a6461077ee",
"publisherId": "xyz.local-history",
"publisherDisplayName": "xyz"
},
"name": "local-history",
"publisher": "xyz",
"version": "1.8.1"
},
{
"metadata": {
"id": "fc2aa5da-50f3-4b23-9ee6-96e142ae598b",
"publisherId": "seeker-dk.node-modules-viewer",
"publisherDisplayName": "seeker-dk"
},
"name": "node-modules-viewer",
"publisher": "seeker-dk",
"version": "0.0.5"
},
{
"metadata": {
"id": "26f86c03-580c-4a6f-bdf2-8589fc055965",
"publisherId": "fivepointseven.node-version",
"publisherDisplayName": "fivepointseven"
},
"name": "node-version",
"publisher": "fivepointseven",
"version": "0.0.1"
},
{
"metadata": {
"id": "b027c4b2-25ad-46db-b574-05dae3b2dc92",
"publisherId": "azemoh.one-monokai",
"publisherDisplayName": "azemoh"
},
"name": "one-monokai",
"publisher": "azemoh",
"version": "0.5.0"
},
{
"metadata": {
"id": "ee108066-df8b-43ae-9a83-e6c11400a759",
"publisherId": "jasonnutter.search-node-modules",
"publisherDisplayName": "jasonnutter"
},
"name": "search-node-modules",
"publisher": "jasonnutter",
"version": "1.3.0"
},
{
"metadata": {
"id": "94ac9b98-e7d1-4bc0-b48f-bffb8d8b58b5",
"publisherId": "Fooxly.themeswitch",
"publisherDisplayName": "Fooxly"
},
"name": "themeswitch",
"publisher": "Fooxly",
"version": "1.0.2"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.24.0"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.17.1"
},
{
"metadata": {
"id": "c55b3e0e-ed7d-474f-855f-70a85ae22897",
"publisherId": "axetroy.vscode-changelog-generator",
"publisherDisplayName": "axetroy"
},
"name": "vscode-changelog-generator",
"publisher": "axetroy",
"version": "1.0.0"
},
{
"metadata": {
"id": "92b12415-e1cf-4c5b-9886-7c78bbe7c452",
"publisherId": "axetroy.vscode-comment-autocomplete",
"publisherDisplayName": "axetroy"
},
"name": "vscode-comment-autocomplete",
"publisher": "axetroy",
"version": "0.4.2"
},
{
"metadata": {
"id": "1b160753-ae5e-42bb-82ad-d115ce5c10f4",
"publisherId": "be5invis.vscode-custom-css",
"publisherDisplayName": "be5invis"
},
"name": "vscode-custom-css",
"publisher": "be5invis",
"version": "4.0.1"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.8"
},
{
"metadata": {
"id": "d637104e-1fd7-4063-98fc-8afe46012c9b",
"publisherId": "sleistner.vscode-fileutils",
"publisherDisplayName": "sleistner"
},
"name": "vscode-fileutils",
"publisher": "sleistner",
"version": "3.0.1"
},
{
"metadata": {
"id": "84d4a562-c19b-4b30-b8f8-8e02eaf02fa2",
"publisherId": "sandcastle.vscode-open",
"publisherDisplayName": "sandcastle"
},
"name": "vscode-open",
"publisher": "sandcastle",
"version": "0.1.0"
},
{
"metadata": {
"id": "03b20f74-9504-4130-a12f-af9808985b37",
"publisherId": "Rubymaniac.vscode-paste-and-indent",
"publisherDisplayName": "Rubymaniac"
},
"name": "vscode-paste-and-indent",
"publisher": "Rubymaniac",
"version": "0.0.8"
},
{
"metadata": {
"id": "06cc3e44-aedb-41b8-a4ea-29ebf3c491fd",
"publisherId": "jpoissonnier.vscode-styled-components",
"publisherDisplayName": "jpoissonnier"
},
"name": "vscode-styled-components",
"publisher": "jpoissonnier",
"version": "0.0.31"
},
{
"metadata": {
"id": "0661e679-8a32-433e-baeb-8980f53edb55",
"publisherId": "fabiospampinato.vscode-todo-plus",
"publisherDisplayName": "fabiospampinato"
},
"name": "vscode-todo-plus",
"publisher": "fabiospampinato",
"version": "4.18.0"
},
{
"metadata": {
"id": "0cb81da2-1880-4755-9995-0ae9cc728e20",
"publisherId": "DotJoshJohnson.xml",
"publisherDisplayName": "DotJoshJohnson"
},
"name": "xml",
"publisher": "DotJoshJohnson",
"version": "2.5.1"
}
]
// Place your key bindings in this file to overwrite the defaults
[
// Global Theme Select
{
"key": "shift+cmd+r",
"command": "workbench.action.selectTheme"
},
// SideBar
{
"key": "cmd+e",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "o",
"command": "list.select",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "shift+cmd+e",
"command": "workbench.view.explorer"
},
{
"key": "shift+cmd+f",
"command": "workbench.action.findInFiles"
},
{
"key": "shift+cmd+d",
"command": "outline.focus"
},
{
"key": "shift+cmd+g",
"command": "workbench.view.scm"
},
{
"key": "shift+cmd+h",
"command": "gitlens.views.lineHistory:gitlens.focus"
},
{
"key": "shift+cmd+b",
"command": "workbench.view.extension.bookmarks"
},
{
"key": "shift+cmd+v",
"command": "workbench.view.extension.todo"
},
{
"key": "shift+cmd+c",
"command": "workbench.view.debug",
},
// Navigate View
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight",
"when": "!terminalFocus && vim.active && vim.mode != 'Insert'"
},
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft",
"when": "!terminalFocus && vim.active && vim.mode != 'Insert'"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown",
"when": "!terminalFocus && vim.active && vim.mode != 'Insert'"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp",
"when": "!terminalFocus && vim.active && vim.mode != 'Insert'"
},
{
"key": "alt+l",
"command": "workbench.action.navigateRight",
},
{
"key": "alt+h",
"command": "workbench.action.navigateLeft",
},
{
"key": "alt+j",
"command": "workbench.action.navigateDown",
},
{
"key": "alt+k",
"command": "workbench.action.navigateUp",
},
// EditorFocus
{
"key": "shift+alt+,",
"command": "workbench.action.decreaseViewSize",
"when": "editorFocus"
},
{
"key": "shift+alt+.",
"command": "workbench.action.increaseViewSize",
"when": "editorFocus"
},
{
"key": "shift+alt+o",
"command": "workbench.action.toggleEditorWidths",
"when": "editorFocus"
},
{
"key": "shift+alt+i",
"command": "workbench.action.evenEditorWidths",
"when": "editorFocus"
},
// Find Widget
{
"key": "cmd+j",
"command": "editor.action.nextMatchFindAction",
"when": "findWidgetVisible",
},
{
"key": "cmd+k",
"command": "editor.action.previousMatchFindAction",
"when": "findWidgetVisible",
},
// Bookmarks
{
"key": "cmd+b",
"command": "bookmarks.toggle",
"when": "editorTextFocus",
},
{
"key": "cmd+j",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
},
{
"key": "cmd+k",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
},
{
"key": "shift+cmd+j",
"command": "bookmarks.expandSelectionToNext",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+k",
"command": "bookmarks.expandSelectionToPrevious",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+l",
"command": "bookmarks.shrinkSelection",
"when": "editorTextFocus"
},
// Terminal
{
"key": "ctrl+escape",
"command": "workbench.action.togglePanel"
},
{
"key": "shift+cmd+i",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "shift+cmd+]",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "shift+cmd+[",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "alt+l",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+h",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "shift+alt+o",
"command": "workbench.action.toggleMaximizedPanel",
"when": "terminalFocus"
},
{
"key": "shift+alt+j",
"command": "workbench.action.terminal.resizePaneDown",
"when": "terminalFocus"
},
{
"key": "shift+alt+k",
"command": "workbench.action.terminal.resizePaneUp",
"when": "terminalFocus"
},
{
"key": "shift+alt+h",
"command": "workbench.action.terminal.resizePaneLeft",
"when": "terminalFocus"
},
{
"key": "shift+alt+l",
"command": "workbench.action.terminal.resizePaneRight",
"when": "terminalFocus"
},
{
"key": "ctrl+l",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
},
// Disabled Keys
{
"key": "shift+alt+l",
"command": "-bookmarks.expandSelectionToNext",
"when": "editorTextFocus"
},
{
"key": "shift+alt+j",
"command": "-bookmarks.expandSelectionToPrevious",
"when": "editorTextFocus"
},
{
"key": "shift+alt+k",
"command": "-bookmarks.shrinkSelection",
"when": "editorTextFocus"
},
{
"key": "shift+alt+u",
"command": "-extension.updateSettings"
},
{
"key": "cmd+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "cmd+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+cmd+r",
"command": "workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "cmd+r",
"command": "-workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "shift+cmd+a",
"command": "-todo.archive",
"when": "editorTextFocus && editorLangId == 'todo'"
},
]
{
"window.title": "${activeEditorMedium}${separator}${rootName}",
"window.zoomLevel": 0,
"window.autoDetectColorScheme": true,
"editor.tabSize": 2,
"editor.minimap.enabled": false,
"editor.scrollBeyondLastLine": false,
"editor.smoothScrolling": true,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"workbench.sideBar.location": "left",
"workbench.editor.labelFormat": "short",
"workbench.editor.enablePreview": false,
"workbench.settings.openDefaultSettings": true,
"workbench.activityBar.visible": true,
"workbench.preferredDarkColorTheme": "One Monokai",
"workbench.preferredLightColorTheme": "Default Light+",
"workbench.colorTheme": "One Monokai",
"workbench.colorCustomizations": {
"[One Monokai]": {
"editorCursor.foreground": "#ffffff",
"editor.findMatchBorder": "#ffffff33",
"editor.findMatchBackground": "#24e04d55",
"editor.findMatchHighlightBorder": "#ffffff44",
"editor.findMatchHighlightBackground": "#ffffff22",
"editor.wordHighlightBorder": "#ffffff33",
"editor.wordHighlightBackground": "#ffffff11"
},
"statusBar.background": "#007ACCee",
"statusBar.noFolderBackground": "#007ACCee",
"statusBar.debuggingBackground": "#007ACCee",
"statusBar.foreground": "#FFF"
},
"zenMode.hideTabs": false,
"zenMode.hideActivityBar": false,
"zenMode.hideStatusBar": false,
"explorer.openEditors.visible": 0,
"explorer.autoReveal": false,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"extensions.ignoreRecommendations": true,
"extensions.autoUpdate": false,
"timeline.excludeSources": [],
"search.followSymlinks": false,
"update.mode": "none",
"sync.gist": "b0d337e1e7599449382dd51e6f2fd1e2",
"vim.disableExtension": false,
"vim.leader": ",",
"vim.hlsearch": true,
"vim.statusBarColorControl": true,
"vim.statusBarColors.normal": ["#007ACCee", "#FFF"],
"vim.statusBarColors.insert": "#BF616A",
"vim.statusBarColors.visual": "#C4B105ee",
"vim.statusBarColors.visualline": "#C4B105ee",
"vim.statusBarColors.visualblock": "#C4B105ee",
"vim.statusBarColors.replace": "#D08770",
"vim.statusBarColors.commandlineinprogress": "#007ACC",
"vim.statusBarColors.searchinprogressmode": "#007ACC",
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": [
"<C-u>"
],
"after": [
"3",
"0",
"k"
]
},
{
"before": [
"<C-d>"
],
"after": [
"3",
"0",
"j"
]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
"leader",
"<space>"
],
"commands": [
":nohl"
]
},
{
"before": [
"leader",
"c",
"<space>"
],
"commands": [
"editor.action.commentLine",
"extension.vim_escape"
]
},
{
"before": [
":"
],
"commands": [
"vim.showQuickpickCmdLine",
]
},
{
"before": [
"<leader>",
"m"
],
"commands": [
"bookmarks.toggle"
]
},
{
"before": [
"<leader>",
"b"
],
"commands": [
"bookmarks.list"
]
},
{
"before": [
"L"
],
"commands": [
"workbench.action.nextEditor"
]
},
{
"before": [
"H"
],
"commands": [
"workbench.action.previousEditor"
]
},
{
"before": [
"<C-u>"
],
"after": [
"3",
"0",
"k"
]
},
{
"before": [
"<C-d>"
],
"after": [
"3",
"0",
"j"
]
}
],
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript",
"*.wpy": "vue",
"*.vue": "vue",
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/.vscode/.history": true,
},
"emmet.includeLanguages": {
"wxml": "html"
},
"terminal.integrated.shell.osx": "zsh",
"terminal.integrated.rendererType": "dom",
"eslint.enable": true,
"eslint.options": {
"extensions": [
".js",
".vue",
".ts",
".tsx"
]
},
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"vue",
"typescript",
"typescriptreact",
],
"eslint.packageManager": "yarn",
"local-history.saveDelay": 5,
"local-history.path": "${workspaceFolder}/.vscode",
"javascript.updateImportsOnFileMove.enabled": "never",
"javascript.validate.enable": false,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"typescript.check.npmIsInstalled": false,
"typescript.updateImportsOnFileMove.enabled": "always",
"gitlens.codeLens.scopes": [ "document" ],
"gitlens.views.repositories.location": "scm",
"gitlens.advanced.messages": {
"suppressCommitNotFoundWarning": true
},
"git.confirmSync": false,
"git.autofetch": true,
"vscode_custom_css.imports": ["file:///Users/zhenkunou/configs/vscode.css"],
"vscode_custom_css.policy": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment