mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
- Added npm update -g to "up" alias
- VS Code settings updated
This commit is contained in:
@@ -20,7 +20,6 @@
|
|||||||
"editor.snippetSuggestions": "top",
|
"editor.snippetSuggestions": "top",
|
||||||
"editor.guides.indentation": true,
|
"editor.guides.indentation": true,
|
||||||
"editor.tabSize": 4,
|
"editor.tabSize": 4,
|
||||||
"prettier.tabWidth": 4,
|
|
||||||
"editor.insertSpaces": true,
|
"editor.insertSpaces": true,
|
||||||
"editor.detectIndentation": false,
|
"editor.detectIndentation": false,
|
||||||
"editor.multiCursorModifier": "ctrlCmd",
|
"editor.multiCursorModifier": "ctrlCmd",
|
||||||
@@ -38,13 +37,13 @@
|
|||||||
//
|
//
|
||||||
// Workbench - Everything that surrounds the editor
|
// Workbench - Everything that surrounds the editor
|
||||||
"workbench.startupEditor": "newUntitledFile",
|
"workbench.startupEditor": "newUntitledFile",
|
||||||
"workbench.sideBar.location": "left",zoomLevel
|
"workbench.sideBar.location": "left",
|
||||||
"workbench.colorCustomizations": {
|
"workbench.colorCustomizations": {
|
||||||
"tab.activeBackground": "#07f7af3f",
|
"tab.activeBackground": "#07f7af3f",
|
||||||
"tab.activeBorder": "#ffffff"
|
"tab.activeBorder": "#ffffff"
|
||||||
},
|
},
|
||||||
"bookmarks.navigateThroughAllFiles": true,
|
"bookmarks.navigateThroughAllFiles": true,
|
||||||
"window.menuBarVisibility": "toggle",
|
"window.menuBarVisibility": "compact",
|
||||||
"explorer.confirmDragAndDrop": false,
|
"explorer.confirmDragAndDrop": false,
|
||||||
//
|
//
|
||||||
// Screencast Options
|
// Screencast Options
|
||||||
@@ -55,6 +54,7 @@
|
|||||||
"debug.toolBarLocation": "docked",
|
"debug.toolBarLocation": "docked",
|
||||||
//
|
//
|
||||||
// Prettier Plugin
|
// Prettier Plugin
|
||||||
|
"prettier.tabWidth": 4,
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"prettier.useTabs": false,
|
"prettier.useTabs": false,
|
||||||
"prettier.printWidth": 85,
|
"prettier.printWidth": 85,
|
||||||
@@ -194,12 +194,14 @@
|
|||||||
"go.useLanguageServer": true,
|
"go.useLanguageServer": true,
|
||||||
"go.formatTool": "gofmt",
|
"go.formatTool": "gofmt",
|
||||||
// Markdown
|
// Markdown
|
||||||
|
"markdownlint.run": "onType",
|
||||||
"markdown.extension.print.imgToBase64": true,
|
"markdown.extension.print.imgToBase64": true,
|
||||||
"markdown.extension.print.theme": "dark",
|
"markdown.extension.print.theme": "dark",
|
||||||
"markdownlint.run": "onType",
|
|
||||||
"markdown.extension.toc.orderedList": true,
|
"markdown.extension.toc.orderedList": true,
|
||||||
"markdown.extension.tableFormatter.normalizeIndentation": true,
|
"markdown.extension.tableFormatter.normalizeIndentation": true,
|
||||||
"markdown.extension.list.indentationSize": "inherit",
|
"markdown.extension.list.indentationSize": "inherit",
|
||||||
|
"markdown.extension.bold.indicator": "**",
|
||||||
|
"markdown.extension.italic.indicator": "*",
|
||||||
"markdownlint.config": {
|
"markdownlint.config": {
|
||||||
"default": true,
|
"default": true,
|
||||||
"MD007": false,
|
"MD007": false,
|
||||||
@@ -211,35 +213,66 @@
|
|||||||
"no-hard-tabs": false,
|
"no-hard-tabs": false,
|
||||||
"line-length": false
|
"line-length": false
|
||||||
},
|
},
|
||||||
"[markdown]": {
|
// LaTex
|
||||||
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
|
// https://nevalsar.hashnode.dev/compiling-latex-with-ubuntu-and-visual-studio-code#heading-issues-with-modules-setting-additional-compiler-flags
|
||||||
|
"latex-workshop.latex.tools": [
|
||||||
|
{
|
||||||
|
"name": "latexmk",
|
||||||
|
"command": "latexmk",
|
||||||
|
"args": [
|
||||||
|
"--shell-escape",
|
||||||
|
"-synctex=1",
|
||||||
|
"-interaction=nonstopmode",
|
||||||
|
"-file-line-error",
|
||||||
|
"-pdf",
|
||||||
|
"-outdir=%OUTDIR%",
|
||||||
|
"%DOC%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "pdflatex",
|
||||||
|
"command": "pdflatex",
|
||||||
|
"args": [
|
||||||
|
"--shell-escape",
|
||||||
|
"-synctex=1",
|
||||||
|
"-interaction=nonstopmode",
|
||||||
|
"-file-line-error",
|
||||||
|
"%DOC%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bibtex",
|
||||||
|
"command": "bibtex",
|
||||||
|
"args": ["--shell-escape", "%DOCFILE%"],
|
||||||
|
"env": {}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
//
|
//
|
||||||
// Python
|
// Python
|
||||||
"python.jediEnabled": false,
|
"python.jediEnabled": false,
|
||||||
"python.languageServer": "Pylance",
|
"python.languageServer": "Pylance",
|
||||||
//
|
|
||||||
//
|
|
||||||
// Themes
|
|
||||||
"workbench.colorTheme": "GitHub Dark Dimmed",
|
|
||||||
"workbench.iconTheme": "material-icon-theme",
|
"workbench.iconTheme": "material-icon-theme",
|
||||||
"theme-by-language.themes": {
|
"workbench.colorTheme": "GitHub Dark",
|
||||||
"*": "GitHub Dark",
|
// "theme-by-language.themes": {
|
||||||
"markdown": "Community Material Theme Darker High Contrast"
|
// "*": "GitHub Dark",
|
||||||
},
|
// "markdown": "Community Material Theme Darker High Contrast"
|
||||||
|
// },
|
||||||
|
|
||||||
// Rust
|
// Rust
|
||||||
// "rust.build_on_save": true,
|
// "rust.build_on_save": true,
|
||||||
"rust.clippy_preference": "on",
|
// "rust.clippy_preference": "on",
|
||||||
"rust.full_docs": true,
|
// "rust.full_docs": true,
|
||||||
"rust-analyzer.assist.importMergeBehavior": "last",
|
// "rust-analyzer.assist.importMergeBehavior": "last",
|
||||||
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
|
// "rust-analyzer.cargo.loadOutDirsFromCheck": true,
|
||||||
"rust-analyzer.procMacro.enable": true,
|
// "rust-analyzer.procMacro.enable": true,
|
||||||
"rust-analyzer.checkOnSave.command": "clippy",
|
// "rust-analyzer.checkOnSave.command": "clippy",
|
||||||
"rust-analyzer.cargo.target": null,
|
// "rust-analyzer.cargo.target": null,
|
||||||
"rust-analyzer.completion.postfix.enable": false,
|
// "rust-analyzer.completion.postfix.enable": false,
|
||||||
"rust-analyzer.inlayHints.enable": false,
|
// "rust-analyzer.inlayHints.enable": false,
|
||||||
"rust-analyzer.inlayHints.typeHints": false,
|
// "rust-analyzer.inlayHints.typeHints": false,
|
||||||
//
|
//
|
||||||
"terminal.integrated.shell.linux": "/bin/zsh",
|
"terminal.integrated.shell.linux": "/bin/zsh",
|
||||||
"debug.javascript.autoAttachFilter": "disabled",
|
"debug.javascript.autoAttachFilter": "disabled",
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
alias up="sudo pkcon refresh && sudo pkcon update && sudo apt dist-upgrade && sudo apt autoremove && rustup update && brew update"
|
alias up="sudo pkcon refresh && sudo pkcon update && sudo apt dist-upgrade && sudo apt autoremove && rustup update && brew upgrade && npm update -g"
|
||||||
|
|||||||
Reference in New Issue
Block a user