settings

 avatar
unknown
json
18 days ago
7.3 kB
10
No Index
{
  "[matlab]": {
    "editor.defaultFormatter": "MathWorks.language-matlab"
  },
  "[python]": {
    "editor.defaultFormatter": "ms-python.black-formatter",
    "editor.formatOnSave": true
  },
  "editor.cursorBlinking": "smooth",
  "editor.cursorSmoothCaretAnimation": "on",
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.fontFamily": "FiraCode Nerd Font, SauceCodePro Nerd Font, Menlo, Monaco, 'Courier New', monospace",
  "editor.fontLigatures": false,
  "editor.fontSize": 16,
  "editor.guides.bracketPairs": "active",
  "editor.lineNumbers": "on",
  "editor.stickyScroll.enabled": true,
  "editor.wordWrap": "on",
  "editor.tabCompletion": "on",
  "extensions.experimental.affinity": {
    "asvetliakov.vscode-neovim": 1,
    "vscodevim.vim": 1
  },
  // "editor.snippetSuggestions": "top",
  // "editor.acceptSuggestionOnEnter": "on",
  // "editor.wordBasedSuggestions": "off",
  "javascript.nameSuggestions": false,
  // Catpucchin settings
  // we try to make semantic highlighting look good
  "editor.semanticHighlighting.enabled": true,
  // prevent VSCode from modifying the terminal colors
  "terminal.integrated.minimumContrastRatio": 1,
  // make the window's titlebar use the workbench colors
  "window.titleBarStyle": "custom",
  // applicable if you use Go, this is an opt-in flag!
  "gopls": {
    "ui.semanticTokens": true
  },
  // END CATPUCCIN SETTINGS
  "latex-workshop.hover.preview.cursor.enabled": false,
  "latex-workshop.hover.preview.enabled": false,
  "latex-workshop.mathpreviewpanel.cursor.enabled": true,
  // LaTeX
  "latex-workshop.view.pdf.hand": true,
  "MATLAB.installPath": "/Applications/MATLAB_R2024b.app",
  // I don't remember what this does
  "pasteImage.basePath": "${currentFileDir}",
  // Default name.
  "pasteImage.defaultName": "${currentFileNameWithoutExt}-HH-mm-ss",
  // Don't encode the path for HTML.
  "pasteImage.encodePath": "none",
  // Only ask for the name of the created file, instead of the full path.
  "pasteImage.filePathConfirmInputBoxMode": "onlyName",
  "pasteImage.insertPattern": "\\begin{center}\n\t\t\\includegraphics[width=\\linewidth]{pasted-images/${imageFileName}}\n\t\\end{center}",
  // Paste Image
  // In .vscode/settings.json or /path/to/global/settings/settings.json
  // Where to place the files for pasted images.
  "pasteImage.path": "${currentFileDir}/pasted-images",
  "pasteImage.showFilePathConfirmInputBox": true,
  // The code to insert into LaTeX. (Since the images are placed in
  // a directory named pasted-images/ that is in the same directory
  // as the current TeX file, the relative path to the file is
  // pasted-images/${imageFileName}.)
  // end up with a bunch of files named things like "12-03-2024-12-44-23.png"
  "projectManager.hg.baseFolders": ["$home/workspace"],
  "projectManager.sortList": "Recent",
  "security.promptForLocalFileProtocolHandling": false,
  "security.workspace.trust.untrustedFiles": "open",
  "terminal.integrated.commandsToSkipShell": ["matlab.interrupt"],
  "vim.easymotion": true,
  "vim.foldfix": true,
  "vim.handleKeys": {
    "<C-a>": false,
    "<C-f>": false
  },
  "vim.highlightedyank.color": "rgba(250,97,89,0.7)",
  "vim.highlightedyank.enable": true,
  "vim.highlightedyank.textColor": "white",
  "vim.hlsearch": true,
  "vim.incsearch": true,
  "vim.insertModeKeyBindings": [
    {
      "after": ["<Esc>"],
      "before": ["j", "j"]
    },
    {
      "before": ["k", "j"],
      "commands": ["jumpToNextSnippetPlaceholder"]
    }
  ],
  "vim.leader": "<space>",
  "vim.normalModeKeyBindings": [
    {
      "before": ["u"],
      "after": [],
      "commands": [
        {
          "command": "undo",
          "args": []
        }
      ]
    },
    {
      "before": ["<C-r>"],
      "after": [],
      "commands": [
        {
          "command": "redo",
          "args": []
        }
      ]
    },
    {
      "before": ["<Up>"],
      "after": ["g", "k"]
    },
    {
      "before": ["<Down>"],
      "after": ["g", "j"]
    },
    {
      "before": ["k"],
      "after": ["g", "k"]
    },
    {
      "before": ["j"],
      "after": ["g", "j"]
    },
    {
      "before": ["leader", "k"],
      "commands": ["editor.action.showHover"]
    },
    {
      "before": ["]", "d"],
      "commands": ["editor.action.mark.next"]
    },
    {
      "before": ["[", "d"],
      "commands": ["editor.action.mark.prev"]
    },
    {
      "before": ["leader", "c", "a"],
      "commands": ["editor.action.quickFix"]
    }
  ],
  "vim.normalModeKeyBindingsNonRecursive": [
    {
      "before": [":"],
      "commands": ["workbench.action.showCommands"],
      "silent": true
    },
    {
      "before": ["<C-n>"],
      "commands": [":nohl"]
    },
    {
      "before": ["K"],
      "commands": ["lineBreakInsert"],
      "silent": true
    },
    {
      "before": ["s"],
      "commands": ["flash-vscode.start"]
    },
    {
      "before": ["S"],
      "commands": ["flash-vscode.startSelection"]
    },
    {
      "before": ["<BS>"],
      "commands": ["flash-vscode.backspace"]
    },
    {
      "before": ["H"],
      "commands": ["workbench.action.previousEditor"]
    },
    {
      "before": ["L"],
      "commands": ["workbench.action.nextEditor"]
    },
    {
      "before": ["<leader>", "d", "d"],
      "commands": ["workbench.action.closeActiveEditor"]
    },
    {
      "before": ["<leader>", "o"],
      "commands": ["revealFileInOS"]
    }
  ],
  "vim.useCtrlKeys": true,
  "vim.useSystemClipboard": true,
  "vim.visualModeKeyBindings": [
    {
      "before": ["<tab>"],
      "after": [">", "g", "v"]
    },
    {
      "before": ["<S-tab>"],
      "after": ["<", "g", "v"]
    }
  ],
  "window.zoomLevel": 1,
  // "workbench.colorTheme": "Dracula",
  // "workbench.iconTheme": "material-icon-theme",
  // "workbench.startupEditor": "none",
  "editor.inlineSuggest.edits.showCollapsed": true,
  "editor.inlineSuggest.enabled": false,
  // Command Runner extension
  // https://superuser.com/questions/1896639/how-to-open-current-files-path-in-integrated-terminal-in-visual-studio-code
  "command-runner.commands": {
    "Open Current File Dir in Terminal": "cd ${fileDirname}"
  },
  // use Mocha as the base
  "workbench.colorTheme": "Catppuccin Mocha",
  "catppuccin.accentColor": "flamingo",
  "catppuccin.customUIColors": {
    "mocha": {
      "statusBar.foreground": "accent"
    }
  },
  "workbench.editorAssociations": {
    "*.copilotmd": "vscode.markdown.preview.editor",
    "file:/**/*.csv": "jupyter-data-wrangler"
  },
  "workbench.editor.pinnedTabsOnSeparateRow": true,
  "workbench.editor.wrapTabs": true,
  "workbench.editor.highlightModifiedTabs": true,
  "window.nativeTabs": true,
  "editor.accessibilitySupport": "off",
  "prettier.useTabs": true,
  "editor.minimap.enabled": false,
  // "github.copilot.nextEditSuggestions.enabled": true,
  "[pretext]": {
    "editor.defaultFormatter": "redhat.vscode-xml"
  },
  "[snippets]": {
    "editor.snippetSuggestions": "top",
    "editor.suggest.snippetsPreventQuickSuggestions": true,
    // "editor.tabCompletion": "onlySnippets"
  },
  "xml.server.preferBinary": true,
  "explorer.confirmDragAndDrop": false,
  "python.analysis.aiCodeActions": {
    "implementAbstractClasses": true,
    "generateSymbol": true,
    "convertFormatString": true
  },
}
Editor is loading...
Leave a Comment