Skip to content

Instantly share code, notes, and snippets.

@gnchrv
Last active July 29, 2021 09:31
Show Gist options
  • Save gnchrv/692c6f17dbeee6f09c9bc4f29fac44f5 to your computer and use it in GitHub Desktop.
Save gnchrv/692c6f17dbeee6f09c9bc4f29fac44f5 to your computer and use it in GitHub Desktop.
VSCode Settings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "shift+cmd+'",
"command": "openInTerminal"
},
{
"key": "cmd+'",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+;",
"command": "workbench.action.terminal.focus"
},
{
"key": "cmd+;",
"command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"
},
{
"key": "shift+cmd+/",
"command": "workbench.action.quickOpenTerm"
},
{
"key": "shift-cmd-n",
"command": "explorer.newFolder",
"when": "filesExplorerFocus"
},
{
"key": "cmd-n",
"command": "explorer.newFile",
"when": "filesExplorerFocus"
},
{
"key": "ctrl+f11",
"command": "workbench.action.debug.stepOver",
"when": "inDebugMode"
},
{
"key": "f10",
"command": "-workbench.action.debug.stepOver",
"when": "inDebugMode"
},
{
"key": "alt+f11",
"command": "workbench.action.debug.stepInto",
"when": "inDebugMode"
},
{
"key": "f11",
"command": "-workbench.action.debug.stepInto",
"when": "inDebugMode"
},
{
"key": "shift+alt+f11",
"command": "workbench.action.debug.stepOut",
"when": "inDebugMode"
},
{
"key": "shift+f11",
"command": "-workbench.action.debug.stepOut",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+w",
"command": "editor.emmet.action.wrapWithAbbreviation"
},
{
"key": "alt+cmd+\\",
"command": "editor.emmet.action.matchTag"
},
{
"key": "ctrl+shift+f",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+f",
"command": "-editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+=",
"command": "workbench.action.toggleMaximizedPanel"
},
{
"key": "ctrl+cmd+p",
"command": "workbench.action.pinEditor",
"when": "config.workbench.editor.showTabs && !editorSticky"
},
{
"key": "cmd+k shift+enter",
"command": "-workbench.action.pinEditor",
"when": "config.workbench.editor.showTabs && !editorSticky"
},
{
"key": "ctrl+cmd+p",
"command": "workbench.action.unpinEditor",
"when": "config.workbench.editor.showTabs && editorSticky"
},
{
"key": "cmd+k shift+enter",
"command": "-workbench.action.unpinEditor",
"when": "config.workbench.editor.showTabs && editorSticky"
}
]
{
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"editor.detectIndentation": false,
"css.validate": false,
// "terminal.integrated.shell.osx": "/bin/zsh",
"workbench.fontAliasing": "default",
"workbench.colorTheme": "Atom One Dark",
"editor.minimap.enabled": false,
"editor.fontFamily": "Roboto Mono, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 14.5,
"editor.lineHeight": 31,
// "editor.fontWeight": "500",
"editor.overviewRulerBorder": false,
"terminal.integrated.fontSize": 13,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"punctuation.definition.comment"
],
"settings": {
"fontStyle": "",
"foreground": "#cfd8ee55"
}
},
{
"name": "storage.type.class.jsdoc",
"scope": "comment.block.documentation.ts,comment.block.documentation.js",
"settings": {
"foreground": "#cfd8ee55"
}
}
]
},
"terminal.integrated.lineHeight": 1.35,
"workbench.colorCustomizations": {
"editorIndentGuide.activeBackground": "#525a6bc2",
"editorIndentGuide.background": "#525a6b5e",
"editorLineNumber.foreground": "#454C5B",
"scrollbar.shadow": "#282C3400",
"scrollbarSlider.background": "#282C3400",
"scrollbarSlider.activeBackground": "#282C3400",
"scrollbarSlider.hoverBackground": "#363c4700",
"activityBar.background": "#21252B00",
"editorBracketMatch.border": "#282c3400",
"editorBracketMatch.background": "#3A414D",
"editorOverviewRuler.bracketMatchForeground": "#3A414D",
"editorOverviewRuler.addedForeground": "#00000000",
"editorOverviewRuler.modifiedForeground": "#00000000",
"editorOverviewRuler.deletedForeground": "#00000000",
"widget.shadow": "#ffffff00",
"editorGroup.border": "#ffffff00",
"editor.wordHighlightBackground": "#3e434d",
"editor.wordHighlightStrongBackground": "#3A414D",
"terminal.border": "#ffffff00",
// "editorSuggestWidget.border": "#ffffff00",
// "terminal.background": "#21252B",
"panel.border": "#ffffff00",
"tab.border": "#ffffff00",
"editorGutter.addedBackground": "#00b176",
"editorGutter.deletedBackground": "#ff0025",
"editorGutter.modifiedBackground": "#ffbc36"
},
"editor.renderIndentGuides": true,
"keyboard.dispatch": "keyCode",
"editor.wordWrap": "on",
"breadcrumbs.enabled": false,
"git.enableSmartCommit": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"vue"
],
"files.associations": {
"*.rmd": "markdown",
"*.svelte": "html"
},
"svelte.plugin.svelte.format.enable": false,
"explorer.confirmDelete": false,
"workbench.tree.renderIndentGuides": "none",
"python.jediEnabled": false,
"python.linting.pylintEnabled": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"explorer.confirmDragAndDrop": false,
"better-comments.tags": [
{
"tag": "!",
"color": "#ffbc36",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "?",
"color": "#3498DB",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "//",
"color": "#474747",
"strikethrough": true,
"backgroundColor": "transparent"
},
{
"tag": "todo",
"color": "#FF8C00",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "*",
"color": "#98C379",
"strikethrough": false,
"backgroundColor": "transparent"
}
],
"workbench.editor.enablePreview": false,
"workbench.panel.defaultLocation": "right",
"terminal.integrated.rendererType": "dom",
"editor.tabSize": 4,
"html-css-class-completion.enableEmmetSupport": true,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[css]": {
"editor.defaultFormatter": "aeschli.vscode-css-formatter"
},
"vetur.completion.autoImport": false,
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.options.tabSize": 4,
"extensions.ignoreRecommendations": false,
"highlight.regexes": {
"((?:<!-- *)?(?:#|// @|//|./\\*+|<!--|--|\\* @|{!|{{!--|{{!) *TODO(?:\\s*\\([^)]+\\))?:?)((?!\\w)(?: *-->| *\\*/| *!}| *--}}| *}}|(?= *(?:[^:]//|/\\*+|<!--|@|--|{!|{{!--|{{!))|(?: +[^\\n@]*?)(?= *(?:[^:]//|/\\*+|<!--|@|--(?!>)|{!|{{!--|{{!))|(?: +[^@\\n]+)?))": {
"filterFileRegex": ".*(?<!CHANGELOG.md)$",
"decorations": [
{
"overviewRulerColor": "#ffcc00",
"backgroundColor": "#ffcc00",
"color": "#1f1f1f",
"fontWeight": "bold"
},
{
"backgroundColor": "#ffcc00",
"color": "#1f1f1f"
}
]
},
"((?:<!-- *)?(?:#|// @|//|./\\*+|<!--|--|\\* @|{!|{{!--|{{!) *(?:FIXME|FIX|BUG|UGLY|DEBUG|HACK)(?:\\s*\\([^)]+\\))?:?)((?!\\w)(?: *-->| *\\*/| *!}| *--}}| *}}|(?= *(?:[^:]//|/\\*+|<!--|@|--|{!|{{!--|{{!))|(?: +[^\\n@]*?)(?= *(?:[^:]//|/\\*+|<!--|@|--(?!>)|{!|{{!--|{{!))|(?: +[^@\\n]+)?))": {
"filterFileRegex": ".*(?<!CHANGELOG.md)$",
"decorations": [
{
"overviewRulerColor": "#cc0000",
"backgroundColor": "#cc0000",
"color": "#1f1f1f",
"fontWeight": "bold"
},
{
"backgroundColor": "#cc0000",
"color": "#1f1f1f"
}
]
},
"((?:<!-- *)?(?:#|// @|//|./\\*+|<!--|--|\\* @|{!|{{!--|{{!) *(?:REVIEW|OPTIMIZE|TSC)(?:\\s*\\([^)]+\\))?:?)((?!\\w)(?: *-->| *\\*/| *!}| *--}}| *}}|(?= *(?:[^:]//|/\\*+|<!--|@|--|{!|{{!--|{{!))|(?: +[^\\n@]*?)(?= *(?:[^:]//|/\\*+|<!--|@|--(?!>)|{!|{{!--|{{!))|(?: +[^@\\n]+)?))": {
"filterFileRegex": ".*(?<!CHANGELOG.md)$",
"decorations": [
{
"overviewRulerColor": "#00ccff",
"backgroundColor": "#00ccff",
"color": "#1f1f1f",
"fontWeight": "bold"
},
{
"backgroundColor": "#00ccff",
"color": "#1f1f1f"
}
]
},
"((?:<!-- *)?(?:#|// @|//|./\\*+|<!--|--|\\* @|{!|{{!--|{{!) *(?:IDEA)(?:\\s*\\([^)]+\\))?:?)((?!\\w)(?: *-->| *\\*/| *!}| *--}}| *}}|(?= *(?:[^:]//|/\\*+|<!--|@|--|{!|{{!--|{{!))|(?: +[^\\n@]*?)(?= *(?:[^:]//|/\\*+|<!--|@|--(?!>)|{!|{{!--|{{!))|(?: +[^@\\n]+)?))": {
"filterFileRegex": ".*(?<!CHANGELOG.md)$",
"decorations": [
{
"overviewRulerColor": "#cc00cc",
"backgroundColor": "#cc00cc",
"color": "#1f1f1f",
"fontWeight": "bold"
},
{
"backgroundColor": "#cc00cc",
"color": "#1f1f1f"
}
]
}
},
"workbench.startupEditor": "none",
"security.workspace.trust.untrustedFiles": "open",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment