Skip to content

Instantly share code, notes, and snippets.

@fabiobrasileiroo
Last active February 11, 2025 17:02
Show Gist options
  • Select an option

  • Save fabiobrasileiroo/3092f970e74ccd8e827d9563d2e44f07 to your computer and use it in GitHub Desktop.

Select an option

Save fabiobrasileiroo/3092f970e74ccd8e827d9563d2e44f07 to your computer and use it in GitHub Desktop.
{
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.suggest.insertMode": "replace",
"editor.linkedEditing": true,
"launch": {},
"zenMode.hideLineNumbers": false,
"editor.lineNumbers": "relative",
"vim.leader": "<Space>",
"vim.hlsearch": true,
"vim.normalModeKeyBindingsNonRecursive": [
// NAVIGATION
// switch b/w buffers
{
"before": ["<S-h>"],
"commands": [":bprevious"]
},
{
"before": ["<S-l>"],
"commands": [":bnext"]
},
// splits
{
"before": ["leader", "v"],
"commands": [":vsplit"]
},
{
"before": ["leader", "s"],
"commands": [":split"]
},
// panes
{
"before": ["leader", "h"],
"commands": ["workbench.action.focusLeftGroup"]
},
{
"before": ["leader", "j"],
"commands": ["workbench.action.focusBelowGroup"]
},
{
"before": ["leader", "k"],
"commands": ["workbench.action.focusAboveGroup"]
},
{
"before": ["leader", "l"],
"commands": ["workbench.action.focusRightGroup"]
},
// NICE TO HAVE
{
"before": ["leader", "w"],
"commands": [":w!"]
},
{
"before": ["leader", "q"],
"commands": [":q!"]
},
{
"before": ["leader", "x"],
"commands": [":x!"]
},
{
"before": ["[", "d"],
"commands": ["editor.action.marker.prev"]
},
{
"before": ["]", "d"],
"commands": ["editor.action.marker.next"]
},
{
"before": ["<leader>", "c", "a"],
"commands": ["editor.action.quickFix"]
},
{
"before": ["leader", "f"],
"commands": ["workbench.action.quickOpen"]
},
{
"before": ["leader", "p"],
"commands": ["editor.action.formatDocument"]
},
{
"before": ["g", "h"],
"commands": ["editor.action.showDefinitionPreviewHover"]
}
],
"vim.visualModeKeyBindings": [
// Stay in visual mode while indenting
{
"before": ["<"],
"commands": ["editor.action.outdentLines"]
},
{
"before": [">"],
"commands": ["editor.action.indentLines"]
},
{
"before": ["J"],
"commands": ["editor.action.moveLinesDownAction"]
},
{
"before": ["K"],
"commands": ["editor.action.moveLinesUpAction"]
},
// toggle comment selection
{
"before": ["leader", "c"],
"commands": ["editor.action.commentLine"]
}
],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 14,
"editor.fontWeight": "500",
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [80, 120],
// "editor.parameterHints.enabled": false,
"editor.renderLineHighlight": "gutter",
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.suggestSelection": "first",
"explorer.confirmDelete": false,
"terminal.integrated.showExitAlert": false,
"[prisma]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "Prisma.prisma"
},
"typescript.suggest.autoImports": true,
"terminal.integrated.env.osx": {
"FIG_NEW_SESSION": "1"
},
"apc.electron": {
"titleBarStyle": "hiddenInset",
"trafficLightPosition": {
"x": 11,
"y": 10
}
},
"apc.font.family": "Inter",
"workbench.editor.labelFormat": "short",
"editor.fontLigatures": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"git.enableSmartCommit": true,
"editor.accessibilitySupport": "off",
"explorer.confirmDragAndDrop": false,
// "editor.codeActionsOnSave": {
// "source.fixAll.eslint": "explicit"
// // "source.fixAll.eslint":"always",
// },
"editor.semanticHighlighting.enabled": false,
"editor.fontFamily": "JetBrains Mono",
"editor.tabSize": 2,
"security.workspace.trust.untrustedFiles": "newWindow",
"files.exclude": {
"**/CVS": true,
"**/.DS_Store": true,
"**/.hg": true,
"**/.svn": true,
"**/.git": true,
".vscode": true
// "node_modules": true
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"vscode_custom_css.imports": [],
"editor.cursorBlinking": "solid",
"css.enabledLanguages": ["css", "html"],
"css.styleSheets": [],
"symbols.hidesExplorerArrows": false,
"editor.minimap.enabled": false,
"window.zoomLevel": -2,
"workbench.editorAssociations": {
"*.zip": "default"
},
"code-runner.clearPreviousOutput": true,
"code-runner.runInTerminal": true,
"[javascriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"terminal.integrated.shellIntegration.suggestEnabled": true,
"animations.Enabled": true,
"animations.Install-Method": "Custom CSS and JS",
"path-intellisense.autoSlashAfterDirectory": true,
"glassit.alpha": 255,
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.stickyScroll.enabled": false,
"window.customTitleBarVisibility": "auto",
"workbench.layoutControl.enabled": false,
"window.commandCenter": false,
// Workbench Config
"workbench.list.smoothScrolling": true,
// Terminal Config
"breadcrumbs.enabled": true,
// Editor Config
"editor.inlineSuggest.enabled": true,
"editor.minimap.autohide": true,
"editor.scrollbar.horizontal": "hidden",
"editor.scrollbar.vertical": "auto",
// "editor.rulers": [80, 120], // uncomment if you want to add rulers in your editor
// Explore File Config
"explorer.compactFolders": false,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"Cargo.toml": "Cargo.lock",
"*.component.ts": "${capture}.component.ts, ${capture}.component.html, ${capture}.component.css, ${capture}.component.spec.ts, index.ts",
"package.json": ".eslint*, .prettier*, tsconfig*, vite*, pnpm-lock*, bun.lockb, nest*, .yarn*, yarn.lock",
"tailwind.config.js": "tailwind.config*, postcss.config*",
"next.config.js": "next*",
".env.local": ".env*",
".env": ".env*",
"*.sqlite": "${capture}.${extname}-*",
"*.db": "${capture}.${extname}-*",
"*.sqlite3": "${capture}.${extname}-*",
"*.db3": "${capture}.${extname}-*",
"*.sdb": "${capture}.${extname}-*",
"*.s3db": "${capture}.${extname}-*"
},
// APC Pluggin Config
// "apc.font.family": "JetBrains Mono", // uncomment if you want to use custom font
"apc.header": {
"height": 36
},
"apc.listRow": {
"height": 24
},
"apc.stylesheet": {
".title-label > h2": "display: none",
".editor-actions": "display: none",
".pane-body": "padding: 0px"
},
// Terminal Config
"terminal.integrated.fontSize": 14,
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font",
"terminal.external.windowsExec": "wt",
"vscode-blur-linux.opacity": 95,
"terminal.integrated.env.linux": {},
"console-ninja.featureSet": "Community",
"workbench.iconTheme": "material-icon-theme",
"[handlebars]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[sql]": {
"editor.defaultFormatter": "cweijan.vscode-mysql-client2"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
// "editor.codeActionsOnSave": {
// "source.fixAll.eslint": "always"
// // "quickfix.biome": "explicit",
// // "source.organizeImports.biome": "explicit"
// },
// Controla se as sugestões devem aparecer automaticamente ao digitar.
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
// Controla se o menu de dicas do parâmetro é alternado ou fechado ao atingir o final da lista.
"editor.parameterHints.cycle": false,
// Permite que um pop-up que mostra informações de documentação e o tipo de parâmetro quando você digita.
"editor.parameterHints.enabled": true,
// Controla o atraso em milissegundos, após o qual sugestões rápidas serão exibidas.
"editor.quickSuggestionsDelay": 10,
// Quebrar linha forçadamente
"editor.wordWrap": "on",
"workbench.colorTheme": "Palenight (Mild Contrast)",
"files.autoSave": "afterDelay",
// terminal external
"terminal.external.linuxExec": "alacritty",
"terminal.integrated.defaultProfile.linux": "fish",
"diffEditor.ignoreTrimWhitespace": false,
"debug.disassemblyView.showSourceCode": false,
"[github-actions-workflow]": {
"editor.defaultFormatter": "bluebrown.yamlfmt"
},
"diffEditor.maxComputationTime": 0,
"window.menuBarVisibility": "toggle",
"database-client.autoSync": true,
"workbench.activityBar.location": "hidden",
"php.validate.executablePath": ""
}
@fabiobrasileiroo
Copy link
Author

settings vscode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment