{
  // Theme
  "window.autoDetectColorScheme": true,
  "workbench.colorTheme": "Default Light Modern",
  "workbench.preferredLightColorTheme": "Default Light Modern",
  "workbench.preferredDarkColorTheme": "Default Light Modern",
  "workbench.iconTheme": "material-icon-theme",
  // Prefered font
  "editor.fontSize": 16,
  "editor.lineHeight": 28,
  "editor.fontFamily": "iA Writer Duo V",
  "markdown.preview.fontSize": 20,
  "terminal.integrated.fontSize": 16,
  "scm.inputFontFamily": "editor",
  // Reduce visual clutter
  "breadcrumbs.enabled": false,
  "editor.cursorBlinking": "solid",
  "editor.cursorSmoothCaretAnimation": "on",
  "editor.cursorWidth": 3,
  "editor.inlineSuggest.enabled": false,
  "editor.minimap.enabled": false,
  "editor.renderLineHighlight": "none",
  "editor.renderWhitespace": "none",
  "editor.rulers": [],
  "editor.scrollbar.vertical": "auto",
  "editor.scrollbar.verticalScrollbarSize": 6,
  "editor.scrollbar.horizontal": "hidden",
  "editor.scrollbar.horizontalScrollbarSize": 6,
  "scm.diffDecorations": "none",
  "scm.diffDecorationsGutterAction": "none",
  "scm.diffDecorationsGutterVisibility": "hover",
  "workbench.tips.enabled": false,
  "zenMode.showTabs": "none",
  "zenMode.fullScreen": true,
  // Editor
  "editor.accessibilitySupport": "off",
  "editor.bracketPairColorization.enabled": false,
  "editor.cursorSurroundingLines": 5,
  "editor.formatOnSave": true,
  "editor.linkedEditing": true,
  "editor.stickyScroll.enabled": false,
  "editor.tabCompletion": "on",
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "editor.wordBasedSuggestions": "currentDocument",
  "emmet.showAbbreviationSuggestions": false,
  "files.autoSave": "onFocusChange",
  "files.trimTrailingWhitespace": true,
  "workbench.startupEditor": "none",
  "editor.overviewRulerBorder": false,
  "editor.selectionHighlight": false,
  "editor.occurrencesHighlight": "off",
  "editor.lightbulb.enabled": "off",
  "editor.wordWrap": "on",
  "editor.wrappingIndent": "indent",
  // Markdown
  "markdown.preview.scrollPreviewWithEditor": false,
  "markdown.preview.scrollEditorWithPreview": false,
  "[markdown]": {
    // quickSuggestions true will provide suggestions as you type.
    // If you turn this on and DO NOT want suggestions
    // for non-wiki-link, non-tag words,
    "editor.quickSuggestions": {
      "comments": "off",
      "strings": "off",
      "other": "on"
    },
    "editor.wordWrap": "on",
    // Set this to false if you turn on quickSuggestions
    // but don't want suggestions for markdown related snippets
    // as you type:
    "editor.suggest.showSnippets": false
  },
  // Explorer
  "explorer.confirmDelete": false,
  // Source control
  "git.autofetch": true,
  "git.confirmSync": false,
  "git.enableCommitSigning": true,
  "git.rebaseWhenSync": true,
  // Search
  "search.useIgnoreFiles": true,
  "search.useGlobalIgnoreFiles": true,
  "search.useParentIgnoreFiles": true,
  // Terminal
  "terminal.integrated.cursorStyle": "line",
  "terminal.integrated.cursorBlinking": true,
  "terminal.integrated.cursorWidth": 2,
  // LaTeX Workshop
  "latex-workshop.message.error.show": false,
  "latex-workshop.message.information.show": false,
  "latex-workshop.message.warning.show": false,
  "latex-workshop.formatting.latex": "latexindent",
  "latex-workshop.latex.outDir": "%DIR%/out",
  "latex-workshop.latex.autoBuild.cleanAndRetry.enabled": false,
  "latex-workshop.latex.clean.subfolder.enabled": true,
  "latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
  "latex-workshop.view.pdf.viewer": "tab",
  "latex-workshop.synctex.afterBuild.enabled": true,
  "latex-workshop.view.outline.sync.viewer": true,
  "latex-workshop.view.pdf.color.dark.backgroundColor": "#F8F9FA",
  "latex-workshop.view.pdf.color.light.backgroundColor": "#F8F9FA",
  "latex-workshop.view.pdf.color.dark.pageBorderColor": "#F8F9FA",
  "latex-workshop.view.pdf.color.light.pageBorderColor": "#F8F9FA",
  "latex-workshop.hover.preview.cursor.enabled": false,
  "latex-workshop.hover.preview.enabled": false,
  // "latex-workshop.view.outline.sections": [
  //   "part",
  //   "chapter",
  //   "section",
  //   "subsection",
  //   "subsubsection"
  // ],
  "latex-workshop.view.outline.commands": [
    ""
  ],
  "latex-workshop.view.outline.floats.caption.enabled": false,
  "latex-workshop.view.outline.floats.enabled": false,
  "ltex.configurationTarget": {
    "dictionary": "user",
    "disabledRules": "user",
    "hiddenFalsePositives": "user"
  },
  "ltex.dictionary": {
    "en-US": [
      "SPRA"
    ]
  },
  "ltex.disabledRules": {
    "en-US": [
      "AGREEMENT_SENT_START",
      "COMMA_PARENTHESIS_WHITESPACE",
      "EACH_EVERY_NNS",
      "EN_A_VS_AN",
      "EN_WORD_COHERENCY",
      "EVENT_EVEN",
      "IM_I_M",
      "LARGE_NUMBER_OF",
      "POSSESSIVE_APOSTROPHE",
      "THE_SUPERLATIVE",
      "UPPERCASE_SENTENCE_START",
      "WHITESPACE_RULE"
    ]
  },
  "ltex.hiddenFalsePositives": {
    "en-US": []
  },
  // Editor Color
  "editor.tokenColorCustomizations": {
    "comments": "#35a371",
    "variables": "#000000",
    "keywords": "#0d6ed0",
    "functions": "#0d6ed0",
    "types": "#d06f0e",
    "numbers": "#d06f0e",
    "strings": "#5b0cee",
    "textMateRules": [
      {
        "scope": [
          "keyword.other.item.latex",
          "constant.character.math.tex",
          "constant.character.escape.tex",
          "support.class.math.block.environment.latex",
          "meta.math.block.latex",
          "meta.function.environment.math.latex"
        ],
        "settings": {
          "foreground": "#0d6ed0"
        }
      },
      {
        "scope": [
          "markup.bold.textbf.latex",
          "meta.function.textbf.latex"
        ],
        "settings": {
          "foreground": "#0d6ed0"
        }
      }
    ]
  },
  // Treat new files (before first save) as LaTeX files.
  "files.defaultLanguage": "latex",
  // Treat LaTeX package (.sty) and class (.cls) files as LaTeX files.
  "files.associations": {
    "*.sty": "latex",
    "*.cls": "latex"
  },
  // Hide the following file types from the VS Code folder list.
  "files.exclude": {
    "**/*.4ct": true,
    "**/*.4tc": true,
    "**/*.fdb_latexmk": true,
    "**/*.idv": true,
    "**/*.lg": true,
    "**/*.lof": true,
    "**/*.synctex.gz": true,
    "**/*.synctex(busy)": true,
    "**/*.tmp": true,
    "**/*.xref": true,
    "**/*.fls": true,
    "**/*.loc": true,
    "**/*.run.xml": true,
    "**/*.soc": true,
    "**/*.snm": true,
    "**/*.blg": true,
    "**/*-SAVE-ERROR": true
  },
  "window.commandCenter": false,
  "workbench.layoutControl.enabled": false,
  "editor.hideCursorInOverviewRuler": false,
  "workbench.colorCustomizations": {
    "editorCursor.foreground": "#16BDEC",
    "editorInfo.foreground": "#b5060c",
    // for the editor scrollbar
    "editorOverviewRuler.addedForeground": "#00cf00",
    "editorOverviewRuler.modifiedForeground": "#ff0008",
    "editorOverviewRuler.deletedForeground": "#cf0000",
    "editorOverviewRuler.errorForeground": "#ff0008",
    "editorOverviewRuler.infoForeground": "#ffffff"
  },
  "ltex.latex.commands": {
    "\\tableofcontents[]": "ignore",
    "\\@ifclassloaded{}{}{}": "ignore",
    "\\includeonly{}": "ignore",
    "\\texttt{}": "dummy", // Inline formatting for code.
    "\\newbool{}": "ignore",
    "\\setbool{}": "ignore",
    "\\setbool{}{}": "ignore",
    // Macros and environments definitions
    "\\newcommand{}{}": "ignore",
    "\\renewcommand{}{}": "ignore",
    "\\newenvironment{}[][]{}{}": "ignore",
    "\\newenvironment{}[]{}{}": "ignore",
    "\\newenvironment{}": "ignore",
    "\\NewDocumentCommand{}{}{}": "ignore",
    "\\NewEnviron{}[]{}": "ignore",
    "\\newtheoremstyle{}{}{}{}{}{}{}{}{}": "ignore",
    "\\DeclarePairedDelimiterX{}[]{}{}": "ignore",
    "\\DeclarePairedDelimiter{}{}{}": "ignore",
    // Beamer
    "\\setbeamertemplate{}[]{}": "ignore",
    "\\setbeamercolor{}{}": "ignore",
    "\\setbeamerfont{}{}": "ignore",
    "\\usebeamercolor[]{}": "ignore",
    "\\usebeamertemplate{}[]": "ignore",
    "\\setbeamertemplate{}{}": "ignore",
    "\\setbeamertemplate{}[]": "ignore",
    "\\usebeamertemplate{}[]{}": "ignore",
    "\\setbeamerfont{}": "ignore",
    "\\addtolength{}{}": "ignore",
    "\\movie{}{}": "ignore",
    "\\movie[]{}{}": "ignore",
    // Citations and references
    "\\cite{}": "dummy",
    "\\nocite{}": "ignore",
    "\\cref[]{}": "dummy",
    "\\crefformat{}{}": "ignore",
    "\\Crefformat{}{}": "ignore",
    "\\crefmultiformat{}{}{}{}{}": "ignore",
    "\\Crefmultiformat{}{}{}{}{}": "ignore",
    "\\crtcrefreference{}": "dummy",
    // Changes annotations
    "\\deleted{}": "ignore",
    "\\todo{}": "ignore",
    "\\todo[]{}": "ignore"
    // ...
  },
  "ltex.diagnosticSeverity": {
    "default": "information",
    "MORFOLOGIK_RULE_EN_US": "information" // Spelling errors.
  },
  "workbench.activityBar.location": "top",
  "overleaf-workshop.formatWithLineBreak.enabled": false,
  "latex-workshop.latex.autoBuild.run": "onSave",
  "terminal.integrated.env.osx": {
    "FIG_NEW_SESSION": "1"
  },
  "[latex]": {
    "editor.formatOnPaste": false,
    "editor.suggestSelection": "recentlyUsedByPrefix"
  },
  "security.workspace.trust.untrustedFiles": "open",
  "extensions.experimental.affinity": {
    "asvetliakov.vscode-neovim": 1
  },
  "latex-workshop.latex.tools": [
    {
      "name": "pdflatex",
      "command": "pdflatex",
      "args": [
        "-synctex=1",
        "-interaction=nonstopmode",
        "-file-line-error",
        "-output-directory=%OUTDIR%",
        "%DOC%"
      ]
    },
    {
      "name": "bibtex",
      "command": "bibtex",
      "args": [
        "%OUTDIR%/%DOCFILE%"
      ]
    },
    {
      "name": "latexmk",
      "command": "latexmk",
      "args": [
        "-synctex=1",
        "-interaction=nonstopmode",
        "-file-line-error",
        "-pdf",
        "-outdir=%OUTDIR%",
        "%DOC%"
      ],
      "env": {}
    }
  ],
  "latex-workshop.latex.recipes": [
    {
      "name": "pdflatex ➞ bibtex ➞ pdflatextimes2",
      "tools": [
        "pdflatex",
        "bibtex",
        "pdflatex",
        "pdflatex"
      ]
    },
    {
      "name": "latexmk",
      "tools": [
        "latexmk"
      ]
    }
  ],
}