{
    // basics
    "window.zoomLevel": 0,
    "window.title": "${rootName}${separator}${activeEditorMedium} ${dirty}",
    "workbench.startupEditor": "none",
    "editor.fontFamily": "'JetBrains Mono', Inconsolata-g, Menlo, Monaco, 'Courier New', monospace",
    "editor.fontLigatures": true,
    "editor.fontSize": 12,
    "editor.tabSize": 2,
    "editor.renderWhitespace": "boundary",
    "editor.rulers": [
        80,
        100
    ],
    "terminal.external.osxExec": "/Applications/iTerm.app/Contents/MacOS/iTerm2",
    "editor.renderIndentGuides": true,
    "editor.find.seedSearchStringFromSelection": false,
    "search.smartCase": true,
    // "editor.smoothScrolling": true,
    "explorer.confirmDragAndDrop": false,
    "workbench.editor.highlightModifiedTabs": true,
    "editor.gotoLocation.multipleReferences": "goto",
    "editor.gotoLocation.multipleImplementations": "goto",
    "debug.openExplorerOnEnd": true,
    "files.trimTrailingWhitespace": true,
    "files.defaultLanguage": "markdown",

    // ui extras
    "editor.minimap.enabled": true,
    "editor.minimap.maxColumn": 40,
    "editor.minimap.renderCharacters": false,
    "editor.scrollbar.verticalScrollbarSize": 5, // unsupported, but works:
    "workbench.activityBar.visible": true, // toggleable
    // "editor.glyphMargin": false,
    "explorer.confirmDelete": false,
    "editor.lineNumbers": "interval",
    "editor.suggestSelection": "first",
    "terminal.integrated.copyOnSelection": true,
    "workbench.statusBar.feedback.visible": false,
    "search.enableSearchEditorPreview": true,
    "keyboard.touchbar.ignored": [
        "workbench.action.debug.start",
        "workbench.action.debug.run"
    ],
    "workbench.editor.tabCloseButton": "off",
    "window.titleBarStyle": "custom",
    "workbench.sideBar.location": "right",
    "editor.semanticHighlighting.enabled": true,

    // theme
    "workbench.colorTheme": "Dark+ (contrast)", // Night Owl or Dark+ (contrast)
    "workbench.colorCustomizations": {
        "[Dark+ (contrast)]": {
            "activityBar.background": "#000000",
            "sideBar.background": "#050505",
            "sideBar.border": "#333",
            "editorGroup.emptyBackground": "#151515",
            "editorGroupHeader.tabsBackground": "#151515",
            "editorCodeLens.foreground": "#666",
            "editorRuler.foreground": "#151515",
            "editorWidget.background": "#151515",
            "editorWidget.border": "#666",
            "editor.lineHighlightBorder": "#151515",
            "titleBar.border": "#333333",
            "statusBar.background": "#334455",
            "editorIndentGuide.activeBackground": "#555555"
        },
        "[Night Owl Black]": {
            // "editor.background": "#090909",
            // "sideBar.background": "#131313",
            // "editorGutter.background": "#000000",
            // "activityBar.background": "#000000",
            // "sideBarSectionHeader.background": "#000000",
            "editorWhitespace.foreground": "#90909030"
        },
        "[Overnight Slumber Italics]": {
            "editorWhitespace.foreground": "#90909030"
        }
    },

    // editing
    "files.insertFinalNewline": true,
    "editor.multiCursorModifier": "ctrlCmd",
    "merge-conflict.autoNavigateNextConflict.enabled": true,
    "diffEditor.renderSideBySide": true,
    "editor.snippetSuggestions": "bottom",
    "editor.wordBasedSuggestions": false,
    "emmet.triggerExpansionOnTab": true,
    "emmet.showSuggestionsAsSnippets": true,

    // navigation
    "vscodeWorkspaceSwitcher.paths": [
        "~/Documents/chillidonut/**/",
        "~/Documents/repos/**/"
    ],
    "bookmarks.navigateThroughAllFiles": true,

    // git
    "git.confirmSync": false,
    "git.countBadge": "tracked",
    "git.enableSmartCommit": true,
    "git.defaultCloneDirectory": "/Users/tom/Documents/repos",
    "diffEditor.ignoreTrimWhitespace": true,
    "scm.diffDecorationsGutterWidth": 2,
    "git.detectSubmodules": false,

    // js/ts
    "typescript.check.npmIsInstalled": false,
    "javascript.validate.enable": true,
    "typescript.suggest.completeFunctionCalls": true,
    "javascript.suggest.completeFunctionCalls": true,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "typescript.updateImportsOnFileMove.enabled": "always",

    // extensions
    "extensions.ignoreRecommendations": true,
    "extensions.showRecommendationsOnlyOnDemand": true,

    // other
    "[jsonc]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[postgres]": {
        "editor.defaultFormatter": "adpyke.vscode-sql-formatter",
    },
    "bracket-pair-colorizer-2.highlightActiveScope": true,
    "editor.matchBrackets": "near",
    "emojisense.languages": {
        "git-commit": true,
        "markdown": true,
        "plaintext": {
            "emojiDecoratorsEnabled": false,
            "markupCompletionsEnabled": false
        },
        "todo": true
    },
    "errorLens.addAnnotationTextPrefixes": false,
    "errorLens.enabledDiagnosticLevels": [
        "error"
    ],
    "errorLens.followCursor": "closestProblem",
    "errorLens.followCursorMore": 3,
    "errorLens.fontSize": "0.8em",
    "gitTreeCompare.diffMode": "merge",
    "gitTreeCompare.iconsMinimal": true,
    "gitlens.blame.avatars": false,
    "gitlens.blame.ignoreWhitespace": true,
    "gitlens.codeLens.recentChange.command": "gitlens.diffWithPrevious",
    "gitlens.currentLine.enabled": false,
    "gitlens.currentLine.format": "${agoOrDate} • ${id} • ${message}",
    "gitlens.heatmap.toggleMode": "window",
    "gitlens.hovers.annotations.changes": false,
    "gitlens.hovers.annotations.over": "annotation",
    "gitlens.hovers.currentLine.details": false,
    "gitlens.hovers.currentLine.enabled": false,
    "gitlens.menus": {
        "editor": {
            "blame": true,
            "clipboard": true,
            "compare": false,
            "details": true,
            "history": true,
            "remote": true
        },
        "editorGroup": {
            "blame": true,
            "compare": false,
            "history": true,
            "remote": true
        },
        "editorTab": {
            "compare": false,
            "history": true,
            "remote": true
        },
        "explorer": {
            "compare": false,
            "history": true,
            "remote": false
        }
    },
    "gitlens.recentChanges.highlight.locations": [
        "line",
        "overview"
    ],
    "gitlens.blame.format": "${sha|20?} ${ago|12-}",
    "gitlens.codeLens.scopes": [
        "document",
        "containers",
        "blocks"
    ],
    "gitlens.codeLens.symbolScopes": [
        "Function"
    ],
    "gitlens.hovers.currentLine.over": "line",
    "gitlens.blame.highlight.locations": [
        "line",
        "overview"
    ],
    "gitlens.recentChanges.toggleMode": "window",
    "gitlens.settings.mode": "advanced",
    "gitlens.statusBar.alignment": "left",
    "gitlens.statusBar.format": "${ago}: \"${message}\"",
    "gitlens.statusBar.reduceFlicker": true,
    "gitlens.views.compare.avatars": false,
    "gitlens.views.compare.files.layout": "auto",
    "gitlens.views.compare.location": "gitlens",
    "gitlens.views.fileHistory.enabled": true,
    "gitlens.views.fileHistory.location": "gitlens",
    "gitlens.views.lineHistory.enabled": false,
    "gitlens.views.lineHistory.location": "gitlens",
    "gitlens.views.repositories.avatars": false,
    "gitlens.views.repositories.branches.layout": "list",
    "gitlens.views.repositories.location": "gitlens",
    "gitlens.views.search.avatars": false,
    "gitlens.views.search.files.layout": "auto",
    "gitlens.views.search.location": "gitlens",
    "npm.enableScriptExplorer": true,
    "prettier.requireConfig": true,
    "spellright.groupDictionaries": false,
    "spellright.languageContext": {
        "comments": [
            "en-GB"
        ],
        "strings": [
            "en-US"
        ]
    },
    "spellright.notificationClassByParser": {
        "code": "information"
    },
    "versionlens.showVersionLensesAtStartup": false,
    "vscodeWorkspaceSwitcher.showInActivityBar": false,
    "vscodeWorkspaceSwitcher.showInExplorer": true,
    "insertDateString.format": "YYYY-MM-DDThh:mm:ssZZZ",
    "glitch.token": "2f77a573-175f-4b72-9279-9d8f62588e7b",
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescriptreact]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "merge-conflict.diffViewPosition": "Below",
    "gitlab.showIssueLinkOnStatusBar": false,
    "editor.acceptSuggestionOnEnter": "off",
    "editor.find.autoFindInSelection": "multiline",
    "vscode-postgres.defaultDatabase": "mryum_dev",
    "editor.gotoLocation.multipleDefinitions": "gotoAndPeek"
}
