Skip to content

Instantly share code, notes, and snippets.

@patrickmaciel
Last active February 25, 2025 18:30
Show Gist options
  • Save patrickmaciel/e37d68fde2f29072844f33548bd652de to your computer and use it in GitHub Desktop.
Save patrickmaciel/e37d68fde2f29072844f33548bd652de to your computer and use it in GitHub Desktop.
vscode settings
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+k ctrl+k",
"command": "toggle",
"when": "editorTextFocus",
"args": {
"id": "fontSize",
"value": [
{
"editor.fontSize": 16,
"editor.lineHeight": 45,
},
{
"editor.fontSize": 14,
"editor.lineHeight": 14,
}
]
}
},
{
"key": "alt+1",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "alt+0",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "alt+c",
"command": "workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "ctrl+alt+i",
"command": "-workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "alt+o",
"command": "workbench.action.gotoSymbol",
"when": "!accessibilityHelpIsShown && !accessibleViewIsShown"
},
{
"key": "ctrl+shift+o",
"command": "-workbench.action.gotoSymbol",
"when": "!accessibilityHelpIsShown && !accessibleViewIsShown"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "ctrl+t",
"command": "editor.action.organizeImports",
"when": "textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/"
},
{
"key": "shift+alt+o",
"command": "-editor.action.organizeImports",
"when": "textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/"
},
{
"key": "ctrl+k ctrl+k",
"command": "-editor.action.defineKeybinding",
"when": "resource == 'vscode-userdata:/c%3A/Users/patri/AppData/Roaming/Code/User/profiles/35dd53b/keybindings.json'"
},
{
"key": "shift+alt+oem_6",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "ctrl+pagedown",
"command": "-workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "shift+alt+oem_4",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "ctrl+pageup",
"command": "-workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "alt+9",
"command": "workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "shift+alt+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "alt+oem_5",
"command": "editor.action.showContextMenu"
},
{
"key": "shift+f10",
"command": "-editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "shift+alt+o",
"command": "editor.action.inlineSuggest.trigger",
"when": "config.github.copilot.inlineSuggest.enable && editorTextFocus && !editorHasSelection && !inlineSuggestionsVisible"
},
{
"key": "alt+oem_5",
"command": "-editor.action.inlineSuggest.trigger",
"when": "config.github.copilot.inlineSuggest.enable && editorTextFocus && !editorHasSelection && !inlineSuggestionsVisible"
},
{
"key": "ctrl+k d",
"command": "-workbench.files.action.compareWithSaved"
}
]
{
"Laravel.translation.diagnostics": false,
"workbench.colorTheme": "Dracula Theme",
/** Better Defaults **/
"editor.copyWithSyntaxHighlighting": false,
"diffEditor.ignoreTrimWhitespace": false,
"editor.emptySelectionClipboard": false,
"window.newWindowDimensions": "inherit",
"editor.multiCursorModifier": "ctrlCmd",
"files.trimTrailingWhitespace": true,
"diffEditor.renderSideBySide": false,
"editor.detectIndentation": false,
"window.nativeFullScreen": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"workbench.sideBar.location": "right",
"editor.minimap.enabled": false,
"editor.lineNumbers": "on",
"editor.rulers": [120],
/**
* Silence The Noise
*/
"breadcrumbs.enabled": true,
"scm.diffDecorations": "none",
"editor.hover.enabled": true,
"editor.matchBrackets": "always",
"workbench.tips.enabled": false,
"workbench.editor.showTabs": "single",
"editor.colorDecorators": false,
"git.decorations.enabled": false,
"editor.lightbulb.enabled": "off",
"editor.selectionHighlight": false,
"editor.overviewRulerBorder": false,
"editor.renderLineHighlight": "none",
"editor.occurrencesHighlight": "off",
"problems.decorations.enabled": false,
"editor.renderControlCharacters": false,
"editor.hideCursorInOverviewRuler": true,
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleDeclarations": "goto",
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
/** Editor **/
"editor.fontFamily": "'FiraCode Nerd Font'",
"editor.fontSize": 16,
"editor.lineHeight": 45,
"editor.suggestFontSize": 15,
"editor.suggestLineHeight": 28,
"editor.wordWrap": "on",
"editor.formatOnPaste": false,
"editor.tabCompletion": "on",
"emmet.triggerExpansionOnTab": true,
"emmet.useInlineCompletions": true,
"emmet.includeLanguages": {
"blade": "html",
"javascript": "javascriptreact",
"typescript": "javascriptreact",
"vue": "html",
"php": "html"
},
"editor.renderWhitespace": "all",
/** Terminal **/
"terminal.integrated.fontSize": 15,
"terminal.integrated.lineHeight": 1.5,
"terminal.integrated.enablePersistentSessions": false,
/** Window **/
"window.titleBarStyle": "custom",
"window.menuBarVisibility": "toggle",
/** VCS **/
"git.autofetch": true,
/** Suggestions **/
"editor.inlineSuggest.enabled": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.wordBasedSuggestions": "matchingDocuments",
"editor.quickSuggestionsDelay": 1,
/** Extensions **/
"todohighlight.exclude": [
"**/node_modules/**",
"**/dist/**",
"**/bower_components/**",
"**/build/**",
"**/.vscode/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/storage/**",
"**/public/css/**",
"**/public/js/**"
],
"liveServer.settings.donotShowInfoMsg": true,
"roo-cline.allowedCommands": [
"npm test",
"npm install",
"tsc",
"git log",
"git diff",
"git show",
"composer install",
"composer require",
"php artisan"
],
"search.useIgnoreFiles": false,
"git.confirmSync": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment