Skip to content

Instantly share code, notes, and snippets.

@Nishith-Savla
Last active February 25, 2022 18:53
Show Gist options
  • Save Nishith-Savla/e2359e4079da564291c31f3e09a6b1f8 to your computer and use it in GitHub Desktop.
Save Nishith-Savla/e2359e4079da564291c31f3e09a6b1f8 to your computer and use it in GitHub Desktop.
VSCode Settings
{
// Editor
"editor.bracketPairColorization.enabled": true,
"editor.cursorSmoothCaretAnimation": true,
"editor.formatOnSave": true,
"editor.fontLigatures": true,
"editor.fontFamily": "'CaskaydiaCove Nerd Font', 'Cascadia Code PL', 'Consolas'",
"editor.guides.bracketPairs": false,
"editor.guides.indentation": false,
"editor.inlayHints.enabled": false,
"editor.lineNumbers": "relative",
"editor.minimap.enabled": false,
"editor.rulers": [80],
"editor.suggestSelection": "first",
"editor.wordWrap": "off",
// Files
"files.associations": {
"*.html": "html"
},
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 5000,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"files.insertFinalNewline": true,
// WorkBench
"workbench.colorCustomizations": {
"[Monokai Vibrant]": {
"editor.background": "#00000f",
"sideBar.background": "#010111",
"sideBar.border": "#000",
"activityBar.border": "#000"
},
"editor.lineHighlightBackground": "#1073cf2d",
"editor.lineHighlightBorder": "#9fced11f"
},
"workbench.colorTheme": "Monokai Vibrant",
"workbench.commandPalette.preserveInput": true,
"workbench.editorAssociations": { "*.ipynb": "jupyter-notebook" },
// "workbench.editor.wrapTabs": true,
"workbench.editor.showTabs": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "welcomePage",
"workbench.tree.indent": 12,
// Prettier
"prettier.arrowParens": "avoid",
"prettier.endOfLine": "auto",
"prettier.jsxBracketSameLine": false,
"prettier.printWidth": 100,
"prettier.tabWidth": 4,
"prettier.useTabs": true,
// Per language configuration
"[asp]": {
"editor.defaultFormatter": null,
"editor.tabSize": 2
},
"[css]": {
"editor.suggest.insertMode": "replace",
"editor.tabSize": 2
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.tabSize": 2
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
// Vim
"vim.easymotion": true,
"vim.handleKeys": {
"C-`": false,
// "<C-a>": false,
"<C-b>": false,
// "<C-c>": false,
"<C-d>": false,
// "<C-f>": false,
"<C-i>": false,
"<C-o>": false,
"<C-k>": false,
"<C-n>": false,
"<C-r>": false,
// "<C-v>": false,
"<C-w>": false
// "<C-y>": false,
},
"vim.hlsearch": true,
"vim.incsearch": true,
"vim.insertModeKeyBindings": [{ "before": ["j", "j"], "after": ["<Esc>"] }],
"vim.normalModeKeyBindings": [
{ "before": ["U"], "after": ["<C-r>"] },
{ "before": ["CR"], "after": ["o", "<Esc>"] }
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["@", "m"],
"after": [
"0",
"f",
")",
"f",
"(",
"i",
"{",
"<CR>",
"r",
"e",
"t",
"u",
"r",
"n",
" ",
"<Esc>",
"l",
"%",
"a",
"<CR>",
"}",
"<Esc>",
"%"
// ":",
// "w",
// "<CR>",
]
},
{
"before": ["@", "s"],
"after": [
"0",
"f",
")",
"f",
"{",
"J",
"F",
"{",
"d",
"t",
"(",
"%",
"J",
"T",
")",
"d",
"f",
"}",
"F",
")",
"%",
":",
"w",
"<CR>"
]
}
],
"vim.vimrc.enable": true,
"vim.vimrc.path": "$HOME/AppData/Local/nvim/init.vim",
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
// ScreenCast
"screencastMode.fontSize": 32,
"screencastMode.mouseIndicatorSize": 30,
"screencastMode.verticalOffset": 10,
// Miscallenous
"autoDocstring.docstringFormat": "numpy",
"code-runner.runInTerminal": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"diffEditor.wordWrap": "off",
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"php.validate.executablePath": "C:/xampp/php/php.exe",
"php.executablePath": "C:/xampp/php/php.exe",
"tabnine.experimentalAutoImports": true,
"terminal.integrated.fontFamily": "CaskaydiaCove Nerd Font",
"thunder-client.codeSnippetLanguage": "python-requests"
// "profileSwitcher.extensionsIgnore": [
// "ms-vsliveshare.vsliveshare",
// "ms-vsliveshare.vsliveshare-audio",
// "ms-vsliveshare.vsliveshare-pack",
// "WakaTime.vscode-wakatime",
// "vscodevim.vim",
// "TabNine.tabnine-vscode",
// "s3gf4ult.monokai-vibrant",
// "aaron-bond.better-comments",
// "christian-kohler.path-intellisense",
// "Compulim.vscode-clock",
// "esbenp.prettier-vscode",
// "ms-azuretools.vscode-docker",
// "ms-vscode-remote.remote-containers",
// "ms-vscode-remote.remote-wsl",
// "patbenatar.advanced-new-file",
// "PKief.material-icon-theme",
// "rangav.vscode-thunder-client",
// "redhat.vscode-yaml"
// ],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment