Skip to content

Instantly share code, notes, and snippets.

@jaredh159
Last active December 8, 2020 01:48
Show Gist options
  • Save jaredh159/02569d33f319f15deecc972471205077 to your computer and use it in GitHub Desktop.
Save jaredh159/02569d33f319f15deecc972471205077 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-09-10T19:51:19.703Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "2cbad5ee-b4ab-4de8-a1c7-77fede846155",
"publisherId": "patbenatar.advanced-new-file",
"publisherDisplayName": "patbenatar"
},
"name": "advanced-new-file",
"publisher": "patbenatar",
"version": "1.2.2"
},
{
"metadata": {
"id": "c1309cc2-f420-46a3-b2be-ca04f4d9e51b",
"publisherId": "asciidoctor.asciidoctor-vscode",
"publisherDisplayName": "asciidoctor"
},
"name": "asciidoctor-vscode",
"publisher": "asciidoctor",
"version": "2.8.3"
},
{
"metadata": {
"id": "9e919931-6833-483d-a7b9-966f8f974227",
"publisherId": "joaompinto.asciidoctor-vscode",
"publisherDisplayName": "joaompinto"
},
"name": "asciidoctor-vscode",
"publisher": "joaompinto",
"version": "2.8.0"
},
{
"metadata": {
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085",
"publisherId": "bungcip.better-toml",
"publisherDisplayName": "bungcip"
},
"name": "better-toml",
"publisher": "bungcip",
"version": "0.3.2"
},
{
"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": "90bf2573-6759-4854-8213-0ba69fe591f9",
"publisherId": "sldobri.dayle-rees-contrast",
"publisherDisplayName": "sldobri"
},
"name": "dayle-rees-contrast",
"publisher": "sldobri",
"version": "1.1.5"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "43335a8d-5929-408b-874a-65f08362642c",
"publisherId": "file-icons.file-icons",
"publisherDisplayName": "file-icons"
},
"name": "file-icons",
"publisher": "file-icons",
"version": "1.0.25"
},
{
"metadata": {
"id": "ebe34a3d-7f67-4c80-b9c3-4fba64b7f063",
"publisherId": "tlent.jest-snapshot-language-support",
"publisherDisplayName": "tlent"
},
"name": "jest-snapshot-language-support",
"publisher": "tlent",
"version": "1.1.1"
},
{
"metadata": {
"id": "8ee0c715-ca9e-4ce2-8841-5faa5e0f3255",
"publisherId": "andys8.jest-snippets",
"publisherDisplayName": "andys8"
},
"name": "jest-snippets",
"publisher": "andys8",
"version": "1.8.0"
},
{
"metadata": {
"id": "68464f0b-8ce5-408e-bed6-4c13209b254a",
"publisherId": "mrorz.language-gettext",
"publisherDisplayName": "mrorz"
},
"name": "language-gettext",
"publisher": "mrorz",
"version": "0.2.0"
},
{
"metadata": {
"id": "ee577500-fad7-4a2b-b19a-bf7ef89f766c",
"publisherId": "geddski.macros",
"publisherDisplayName": "geddski"
},
"name": "macros",
"publisher": "geddski",
"version": "1.2.1"
},
{
"metadata": {
"id": "ef2a5b38-02c4-4193-8561-1f072c209474",
"publisherId": "silvenon.mdx",
"publisherDisplayName": "silvenon"
},
"name": "mdx",
"publisher": "silvenon",
"version": "0.1.0"
},
{
"metadata": {
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8",
"publisherId": "christian-kohler.npm-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "npm-intellisense",
"publisher": "christian-kohler",
"version": "1.3.0"
},
{
"metadata": {
"id": "4386e6f6-ec10-4463-9d23-c24278718947",
"publisherId": "tomoki1207.pdf",
"publisherDisplayName": "tomoki1207"
},
"name": "pdf",
"publisher": "tomoki1207",
"version": "1.1.0"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "5.6.0"
},
{
"metadata": {
"id": "3792588c-3d35-442d-91ea-fe6a755e8155",
"publisherId": "mechatroner.rainbow-csv",
"publisherDisplayName": "mechatroner"
},
"name": "rainbow-csv",
"publisher": "mechatroner",
"version": "1.7.1"
},
{
"metadata": {
"id": "93ce222b-5f6f-49b7-9ab1-a0463c6238df",
"publisherId": "ms-vscode-remote.remote-containers",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-containers",
"publisher": "ms-vscode-remote",
"version": "0.134.1"
},
{
"metadata": {
"id": "607fd052-be03-4363-b657-2bd62b83d28a",
"publisherId": "ms-vscode-remote.remote-ssh",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh",
"publisher": "ms-vscode-remote",
"version": "0.51.0"
},
{
"metadata": {
"id": "bfeaf631-bcff-4908-93ed-fda4ef9a0c5c",
"publisherId": "ms-vscode-remote.remote-ssh-edit",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh-edit",
"publisher": "ms-vscode-remote",
"version": "0.51.0"
},
{
"metadata": {
"id": "f0c5397b-d357-4197-99f0-cb4202f22818",
"publisherId": "ms-vscode-remote.remote-wsl",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-wsl",
"publisher": "ms-vscode-remote",
"version": "0.44.5"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.24.2"
},
{
"metadata": {
"id": "d477f472-4e0f-4b5c-bb35-b7c157fa4eb8",
"publisherId": "rafamel.subtle-brackets",
"publisherDisplayName": "rafamel"
},
"name": "subtle-brackets",
"publisher": "rafamel",
"version": "3.0.0"
},
{
"metadata": {
"id": "17dca0d1-31da-4bef-8b7e-e3ca8c7dc8ef",
"publisherId": "cg-cnu.super-new-file",
"publisherDisplayName": "cg-cnu"
},
"name": "super-new-file",
"publisher": "cg-cnu",
"version": "0.0.4"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.16.0"
},
{
"metadata": {
"id": "c3382f5b-0525-4f74-93df-3a82483c1ad8",
"publisherId": "kenhowardpdx.vscode-gist",
"publisherDisplayName": "kenhowardpdx"
},
"name": "vscode-gist",
"publisher": "kenhowardpdx",
"version": "3.0.3"
},
{
"metadata": {
"id": "23d72dfc-8dd1-4e30-926e-8783b4378f13",
"publisherId": "ms-vscode-remote.vscode-remote-extensionpack",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "vscode-remote-extensionpack",
"publisher": "ms-vscode-remote",
"version": "0.20.0"
},
{
"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": "4db62a7c-7d70-419c-96d2-6c3a4dc77ea5",
"publisherId": "bradlc.vscode-tailwindcss",
"publisherDisplayName": "bradlc"
},
"name": "vscode-tailwindcss",
"publisher": "bradlc",
"version": "0.4.3"
},
{
"metadata": {
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6",
"publisherId": "akamud.vscode-theme-onedark",
"publisherDisplayName": "akamud"
},
"name": "vscode-theme-onedark",
"publisher": "akamud",
"version": "2.2.2"
}
]
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft",
"when": "vim.mode != 'Insert'"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight",
"when": "vim.mode != 'Insert'"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp",
"when": "vim.mode != 'Insert'"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown",
"when": "vim.mode != 'Insert'"
},
{
"key": "cmd+t",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+alt+j",
"command": "editor.action.moveLinesDownAction",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+k",
"command": "editor.action.moveLinesUpAction",
"when": "textInputFocus"
},
{
"key": "ctrl+k",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+j",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+j",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+k",
"command": "workbench.action.quickOpenNavigatePrevious",
"when": "inQuickOpen"
},
{
"key": "cmd+l",
"command": "workbench.action.nextEditor"
},
{
"key": "cmd+h",
"command": "workbench.action.previousEditor"
},
{
"key": "cmd+k shift+cmd+right",
"command": "workbench.action.moveEditorRightInGroup"
},
{
"key": "cmd+k shift+cmd+right",
"command": "-workbench.action.moveEditorRightInGroup"
},
{
"key": "shift+cmd+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+d",
"command": "editor.action.peekDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "alt+f12",
"command": "-editor.action.peekDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+cmd+w",
"command": "workbench.action.closeAllEditors"
},
{
"key": "cmd+k cmd+w",
"command": "-workbench.action.closeAllEditors"
},
{
"key": "cmd+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus",
},
{
"key": "ctrl+s",
"command": "workbench.action.toggleActivityBarVisibility"
}
]
{
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
// \q to load saved macros once per session
"<leader>",
"q"
],
"after": [
// @l becomes "replace char under cursor with LEFT side smart DOUBLE quote"
"q",
"l",
"r",
"“",
"q",
// @r becomes "replace char under cursor with RIGHT side smart DOUBLE quote"
"q",
"r",
"r",
"”",
"q",
// @a becomes "replace char under cursor with LEFT side smart SINGLE quote"
"q",
"a",
"r",
"‘",
"q",
// @z becomes "replace char under cursor with RIGHT side smart SINGLE quote"
"q",
"z",
"r",
"’",
"q",
// @m becomes "replace char under cursor MDASH"
"q",
"m",
"r",
"—",
"q",
// @x becomes "wrap class with {cx()}"
"q",
"x",
"V",
":",
"s",
"/",
"\"",
"/",
"{",
"c",
"x",
"(",
"\"",
"/",
"g",
"<Enter>",
"^",
"f",
"\"",
";",
"a",
")",
"}",
"<Esc>",
"q",
// @e becomes "turn implicit return react FC into explicit"
"q",
"e",
"{",
"/",
"R",
"e",
"a",
"c",
"t",
".",
"F",
"C",
"<Enter>",
"$",
"i",
"{",
"r",
"e",
"t",
"u",
"r",
"n",
" ",
"<Esc>",
"}",
"k",
"a",
"}",
"<Esc>",
"q",
// @i becomes "turn explicit return React.FC into implicit"
"q",
"i",
"{",
"/",
"R",
"e",
"a",
"c",
"t",
".",
"F",
"C",
"<Enter>",
"$",
"x",
"/",
"r",
"e",
"t",
"u",
"r",
"n",
"<Enter>",
"d",
"i",
"w",
"}",
"k",
"d",
"d",
"q"
]
}
],
"vim.statusBarColorControl": true,
"vim.statusBarColors.normal": ["#333333", "#888888"],
"vim.statusBarColors.insert": ["#cc0e00", "#EEEEEE"],
"vim.statusBarColors.visual": ["#91752f", "#EEEEEE"],
"vim.statusBarColors.visualline": ["#8c6284", "#EEEEEE"],
"vim.statusBarColors.visualblock": ["#7d916c", "#EEEEEE"],
"vim.statusBarColors.commandlineinprogress": ["#550d94", "#EEEEEE"],
"vim.statusBarColors.searchinprogressmode": ["#225cba", "#EEEEEE"],
"vim.statusBarColors.replace": ["#D08770", "#EEEEEE"],
"vim.visualModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"workbench.colorTheme": "Atom One Dark",
"window.zoomLevel": 1,
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"files.autoSave": "onFocusChange",
"editor.snippetSuggestions": "top",
"css.lint.validProperties": ["page", "string-set"],
"scss.lint.validProperties": ["page", "string-set"],
"css.lint.unknownAtRules": "ignore",
"scss.validate": false,
"workbench.iconTheme": "file-icons",
"workbench.tree.indent": 15,
// "typescript.tsdk": "/Users/jared/fl/node_modules/typescript/lib",
"editor.highlightActiveIndentGuide": false,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.detectIndentation": false,
"editor.renderIndentGuides": false,
"editor.renderWhitespace": "all",
"editor.fontSize": 13,
"workbench.startupEditor": "newUntitledFile",
"typescript.updateImportsOnFileMove.enabled": "always",
"workbench.editor.enablePreview": false,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"terminal.integrated.fontSize": 10,
"files.insertFinalNewline": true,
"typescript.disableAutomaticTypeAcquisition": true,
"editor.wordWrap": "on",
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#383838",
"editor.wordHighlightBackground": "#5a5a5a",
"editorWhitespace.foreground": "#3d3c3c",
"list.activeSelectionBackground": "#48534bb6",
"list.inactiveSelectionBackground": "#48534bb6",
"statusBar.background": "#333333",
"statusBar.noFolderBackground": "#333333",
"statusBar.debuggingBackground": "#333333",
"statusBar.foreground": "#888888"
},
"editor.tokenColorCustomizations": {
"keywords": {
"fontStyle": "italic"
}
},
"editor.matchBrackets": false,
"css.validate": false,
"debug.node.autoAttach": "off",
"vim.gdefault": true,
"vim.useSystemClipboard": true,
"terminal.external.osxExec": "iTerm.app",
"explorer.openEditors.visible": 0,
"editor.minimap.enabled": false,
"breadcrumbs.enabled": false,
"terminal.integrated.rendererType": "experimentalWebgl",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.activityBar.visible": false,
"eslint.run": "onSave",
"eslint.packageManager": "yarn",
"sync.gist": "02569d33f319f15deecc972471205077",
"tailwindCSS.emmetCompletions": true,
"workbench.editor.limit.enabled": true,
"workbench.editor.limit.value": 9,
"files.defaultLanguage": "Typescript React",
"javascript.updateImportsOnFileMove.enabled": "always",
"files.associations": {
"*.snap": "typescript"
}
}
{
"Import classnames": {
"prefix": "cx",
"body": [
"import cx from 'classnames';"
],
"description": "Import classnames"
},
"Import React": {
"prefix": "imr",
"body": [
"import React from 'react';"
],
"description": "Import React"
},
"Function Component": {
"prefix": "fc",
"body": [
"interface Props {",
"\t$2",
"}",
" ",
"const $1: React.FC<Props> = ({ $3 }) => {",
"\treturn <h1>$1</h1>;",
"}",
" ",
"export default $1;"
],
"description": "Function Component"
},
// Place your snippets for typescriptreact here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment