Skip to content

Instantly share code, notes, and snippets.

@gcavanunez
Created Jan 15, 2021
Embed
What would you like to do?
VSCode Set Up
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "shift+alt+d",
"command": "editor.action.deleteLines",
"when": "editorTextFocus"
},
{
"key": "ctrl+d",
"command": "-editor.action.deleteLines",
"when": "editorTextFocus"
},
{
"key": "pausebreak down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "pausebreak up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
/**
* Activity Bar
**/
{
"key": "ctrl+k ctrl+e",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+k ctrl+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+k ctrl+d",
"command": "workbench.view.debug"
},
{
"key": "ctrl+k ctrl+x",
"command": "workbench.extensions.action.showInstalledExtensions"
},
/**
* Emmet
**/
{
"key": "ctrl+m ctrl+i",
"command": "editor.emmet.action.balanceIn",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+o",
"command": "editor.emmet.action.balanceOut",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+w",
"command": "editor.emmet.action.wrapWithAbbreviation",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+m",
"command": "editor.emmet.action.matchTag",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+e",
"command": "editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+r",
"command": "editor.emmet.action.updateTag",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+backspace",
"command": "editor.emmet.action.removeTag",
"when": "editorTextFocus"
},
/**
* Hide Toaster Notifications
**/
{
"key": "escape",
"command": "notifications.hideToasts",
"when": "notificationToastsVisible"
},
/**
* Line Manipulation
**/
{
"key": "ctrl+m ctrl+l",
"command":"editor.action.copyLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+m ctrl+j",
"command":"editor.action.joinLines",
"when": "editorTextFocus"
},
/**
* Line Manipulation
**/
{
"key": "ctrl+backspace",
"command":"editor.action.moveSelectionToPreviousFindMatch",
"when": "editorTextFocus && editorHasMultipleSelections"
},
{
"key": "ctrl+k ctrl+d",
"command":"editor.action.moveSelectionToNextFindMatch",
"when": "editorTextFocus && editorHasMultipleSelections"
},
{
"key": "ctrl+k ctrl+right",
"command":"editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus && editorHasSelection"
},
{
"key": "ctrl+shift+d ctrl+shift+s",
"command": "workbench.action.files.saveWithoutFormatting"
},
{
"key": "ctrl+k ctrl+shift+s",
"command": "-workbench.action.files.saveWithoutFormatting"
},
{
"key": "ctrl+shift+space ctrl+shift+a",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+shift+space ctrl+shift+d",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+shift+space ctrl+shift+w",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+shift+space ctrl+shift+s",
"command": "workbench.action.navigateDown"
},
{
"key": "ctrl+shift+b",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "ctrl+alt+b",
"command": "workbench.action.toggleTabsVisibility"
},
{
"key": "ctrl+alt+space",
"command": "workbench.action.toggleStatusbarVisibility"
},
]
{
// "workbench.activityBar.visible": false,
// "workbench.editor.showTabs": false,
"workbench.iconTheme": "material-icon-theme",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"terminal.integrated.shell.osx": "/bin/zsh",
"editor.minimap.enabled": false,
"git.autofetch": true,
//Word wrap
"editor.wordWrap": "on",
// Set the default
"editor.formatOnSave": true,
// Enable per-language
"tailwindCSS.emmetCompletions": true,
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.tabSize": 2,
"blade.format.enable": true,
"[blade]": {
"editor.autoClosingBrackets": "always",
"editor.defaultFormatter": "onecentlin.laravel-blade",
},
"php.suggest.basic": false,
"prettier.tabWidth": 2,
"prettier.useTabs": false,
"[php]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client",
},
"[graphql]": {
"editor.formatOnSave": false
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"emmet.triggerExpansionOnTab": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"workbench.colorTheme": "Community Material Theme High Contrast",
"dart.openDevTools": "flutter",
"oneDarkPro.italic": false,
"oneDarkPro.bold": true,
"java.configuration.checkProjectSettingsExclusions": false,
"liveServer.settings.donotShowInfoMsg": true,
// Controls the font family.
"editor.lineHeight": 28,
"editor.letterSpacing": 0.2,
"editor.fontSize": 14,
"editor.fontWeight": "400",
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace",
// Editor Suggestions Typography
"editor.suggestFontSize": 16,
"editor.suggestLineHeight": 28,
"terminal.integrated.fontSize": 14,
"terminal.integrated.lineHeight": 1.5,
"terminal.integrated.fontWeight": "300",
"workbench.editor.labelFormat": "short",
"breadcrumbs.enabled": true,
"explorer.autoReveal": true,
// "window.zoomLevel": 0.75
// Controls the line height. Use 0 to compute the lineHeight from the fontSize.
// "editor.lineHeight": 24,
// Enables font ligatures
// "editor.fontLigatures": true,
// Controls if file decorations should use badges.
// "explorer.decorations.badges": false,
// "workbench.colorCustomizations": {
// "[Community Material Theme High Contrast]": {
// "editor.wordHighlightBackground": "#1f2d30",
// "editor.wordHighlightBorder": "#1f2d30",
// "editor.wordHighlightStrongBackground": "#1f2d30",
// "editor.wordHighlightStrongBorder": "#1f2d30",
// "editorBracketMatch.background": "#1f2d30",
// "editorBracketMatch.border": "#1f2d30",
// "scrollbarSlider.background": "#ffffff22",
// "editorOverviewRuler.bracketMatchForeground": "#000",
// "editorOverviewRuler.errorForeground": "#000",
// "editorOverviewRuler.warningForeground": "#000",
// "editorOverviewRuler.infoForeground": "#000",
// "editor.background": "#1f2d30"
// }
// }
/*---------------------------------------------------------------
* MY COLORS -- Configured according to One Dark theme
---------------------------------------------------------------*/
// "workbench.colorCustomizations": {
// "editor.background": "#131e2c",
// "editor.selectionHighlightBackground": "#1b293b",
// "titleBar.activeBackground": "#131e2c",
// "titleBar.inactiveBackground": "#1b293b",
// "sideBar.background": "#131e2c",
// "sideBarSectionHeader.background": "#1b293b",
// "input.background": "#1b293b",
// "input.border": "#ffffff00",
// // For sidebar
// "list.hoverBackground": "#1d2e44",
// "list.focusBackground": "#182a42",
// "list.activeSelectionBackground": "#284264",
// "list.inactiveSelectionBackground": "#1d2e44",
// // For Cmd + P menu
// "quickInput.background": "#131e2c"
// },
// Zen mode
"zenMode.fullScreen": false,
"zenMode.centerLayout": false,
"zenMode.hideActivityBar": true,
"zenMode.hideTabs": true,
"window.title": "${folderName}",
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"[jsonc]": {
"editor.defaultFormatter": "remimarsal.prettier-now"
},
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [
80
],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
// caleb goodness
// "editor.snippetSuggestions": "top",
"diffEditor.renderSideBySide": false,
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleDeclarations": "goto",
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
"workbench.statusBar.visible": false,
"window.menuBarVisibility": "toggle",
"workbench.editor.showTabs": true,
"workbench.activityBar.visible": false,
"[typescript]": {
"editor.defaultFormatter": "remimarsal.prettier-now"
},
"window.zoomLevel": 0,
"tailwindCSS.includeLanguages": {
"blade": "html",
"php": "html",
"vue": "html"
},
"VSCodeNotion.api": "https://notion-api.guillermocava.com",
"VSCodeNotion.accessToken": "6a3e41e8f1b0bbadc0ba9ea7bf5f9ccec4e3d41fe60b14637f8174c727af016c4e623bfd6a6823496524300b0e8bea94cc6a1d73f9e92b28fb783f06d714da692194c08e47ca2c2c38ee9789df5f",
"VSCodeNotion.allowEmbeds": true,
// "editor.fontLigatures": true
// "vetur.experimental.templateInterpolationService": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment