Created
March 28, 2019 06:57
-
-
Save nmaxcom/05fdb091991674decbc4003abff9b6fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
// Place your key bindings in this file to overwrite the defaults | |
/* From the website: | |
* To remove a specific key binding, add a - to the command and | |
* the rule will be a removal rule. | |
*/ | |
{ | |
"key": "alt+cmd+l", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "colonize.hold", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "colonize.newline", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-colonize.newline", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+enter shift+cmd+w", | |
"command": "colonize.endline", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-colonize.endline", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+c", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
/** | |
* These cmd+s are great ;D Usually, they'll take into an account | |
* any selected text. But if there isn't, they'll act without it | |
* They call user snippets | |
*/ | |
{ | |
"key": "cmd+s c", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"name": "Cutecomment" | |
} | |
}, | |
{ | |
"key": "cmd+s v", | |
// ${selected text or empty} | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"name": "interpolation variable" | |
} | |
}, | |
{ | |
"key": "alt+h", | |
"command": "extension.dash.customSyntax", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+h", | |
"command": "-extension.dash.customSyntax", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "extension.dash.specific", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "-extension.dash.specific", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "-workbench.action.newWindow" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+b", | |
"command": "-workbench.action.tasks.build" | |
}, | |
{ | |
"key": "shift+cmd+b", | |
"command": "breadcrumbs.focusAndSelect", | |
"when": "breadcrumbsVisible" | |
}, | |
{ | |
"key": "shift+cmd+[Backquote]", | |
"command": "-breadcrumbs.focusAndSelect", | |
"when": "breadcrumbsVisible" | |
}, | |
{ | |
"key": "cmd+left", | |
"command": "breadcrumbs.focusPrevious", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "-breadcrumbs.focusPrevious", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "cmd+right", | |
"command": "breadcrumbs.focusNext", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "-breadcrumbs.focusNext", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-debug.openBreakpointToSide", | |
"when": "breakpointsFocused" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-editor.action.selectAllMatches", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "shift+alt+enter", | |
"command": "editor.action.insertLineAfter", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-editor.action.insertLineAfter", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "editor.action.insertLineBefore", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+enter", | |
"command": "-editor.action.insertLineBefore", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+cmd+c", | |
"command": "editor.action.blockComment", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+a", | |
"command": "-editor.action.blockComment", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "extension.jumpy-exit" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "-editor.action.joinLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "extension.jumpy-word" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "editor.action.refactor", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "-editor.action.refactor", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "cmstead.jsRefactor.selectRefactoring" | |
}, | |
{ | |
"key": "shift+cmd+j r", | |
"command": "-cmstead.jsRefactor.selectRefactoring" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "javascriptBooster.extendSelection" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "javascriptBooster.shrinkSelection" | |
}, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "-workbench.action.terminal.resizePaneUp", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+down", | |
"command": "-workbench.action.terminal.resizePaneDown", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+a", | |
"command": "-cursorLineStart", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.navigateBack" | |
}, | |
{ | |
"key": "cmd+[Quote]", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-workbench.action.navigateForward" | |
}, | |
{ | |
"key": "cmd+[Backslash]", | |
"command": "workbench.action.navigateForward" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"javascript.validate.enable": false, | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.fontFamily": "Menlo", | |
"editor.fontSize": 17, | |
"workbench.colorCustomizations": { | |
"editorIndentGuide.background": "#ffffff08", | |
"editorIndentGuide.activeBackground": "#ff0000d0", | |
"badge.background": "#007ACC", | |
"badge.foreground": "#ffffff", | |
"editor.findMatchBackground": "#0cee1b93", | |
"editor.findMatchHighlightBackground": "#00d2358c", | |
"editor.lineHighlightBackground": "#222222", | |
"editor.selectionBackground": "#1774ff9d", | |
"editor.selectionHighlightBackground": "#01a2ffd6", | |
"editor.wordHighlightBackground": "#ff00f2c2", | |
"editor.wordHighlightStrongBackground": "#ff2ef58c", | |
"editorBracketMatch.background": "#0066ffc5", | |
"editorBracketMatch.border": "#0066ff", | |
"editorOverviewRuler.border": "#ff000000", | |
"editorOverviewRuler.findMatchForeground": "#0cee1b93", | |
"editorOverviewRuler.rangeHighlightForeground": "#ff00ee94", | |
"editorOverviewRuler.wordHighlightForeground": "#ff00eea4", | |
"editorOverviewRuler.wordHighlightStrongForeground": "#ffc400ab", | |
"editorOverviewRuler.selectionHighlightForeground": "#01a2ffa6", | |
"editorOverviewRuler.errorForeground": "#ff0000", | |
"input.border": "#00143100", | |
"list.activeSelectionBackground": "#C75300", | |
"list.hoverBackground": "#ff6a001f", | |
"list.inactiveSelectionBackground": "#c76a00b7", | |
"list.inactiveSelectionForeground": "#ffffff", | |
"peekViewEditor.matchHighlightBackground": "#ff00eaa1", | |
"scrollbarSlider.activeBackground": "#ffffff7c", | |
"scrollbarSlider.background": "#00000049", | |
"scrollbarSlider.hoverBackground": "#3232326b", | |
"selection.background": "#1774ff9d" | |
}, | |
"files.autoSave": "afterDelay", | |
"workbench.colorTheme": "Monokai", | |
"prettier.printWidth": 200, | |
"prettier.tabWidth": 2, | |
"prettier.singleQuote": true, | |
"prettier.trailingComma": "all", | |
"editor.tabCompletion": "on", | |
"git.enableSmartCommit": true, | |
"terminal.integrated.fontSize": 16, | |
"symbolTreeview.showOnStartup": false, | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"workbench.activityBar.visible": true, | |
"[handlebars]": {}, | |
"surround.custom": { | |
// command name must be unique | |
"parens": { | |
// label must be unique | |
"label": "Parenthesis", | |
"description": "(...)", | |
"snippet": "($TM_SELECTED_TEXT)$0" // <-- snippet goes here. | |
}, | |
"clogInterp": { | |
// label must be unique | |
"label": "Console Interpolation", | |
"description": "console.log(`...`)", | |
"snippet": "console.log(`$TM_SELECTED_TEXT$0`)" // <-- snippet goes here. | |
}, | |
"interpVar": { | |
// label must be unique | |
"label": "Interpolation Variable", | |
"description": "{$...}", | |
"snippet": "${$TM_SELECTED_TEXT}$0" // <-- snippet goes here. | |
}, | |
"brackets": { | |
// label must be unique | |
"label": "Square brackets", | |
"description": "[...]", | |
"snippet": "[$TM_SELECTED_TEXT]$0" // <-- snippet goes here. | |
}, | |
"curly": { | |
// label must be unique | |
"label": "Curly", | |
"description": "{...}", | |
"snippet": "{$TM_SELECTED_TEXT}$0" // <-- snippet goes here. | |
} | |
}, | |
"bracketPairColorizer.activeScopeCSS": ["borderStyle : solid", "borderWidth : 1px", "borderColor : {color}; opacity: 0.5", "backgroundColor: {color}"], | |
"editor.matchBrackets": false, | |
"bracketPairColorizer.consecutivePairColors": ["()", "[]", "{}", ["Gold", "#26FF26", "LightSkyBlue"], "Red"], | |
"bracketPairColorizer.highlightActiveScope": true, | |
"bracketPairColorizer.showBracketsInGutter": true, | |
"bracketPairColorizer.showBracketsInRuler": true, | |
"bracketPairColorizer.showHorizontalScopeLine": false, | |
"editor.tabSize": 2, | |
"breadcrumbs.enabled": true, | |
"window.zoomLevel": 0, | |
"todohighlight.keywords": [ | |
{ | |
"text": "TODO:", | |
"color": "white", | |
"backgroundColor": "orange", | |
"padding": "0 5px" | |
} | |
], | |
"editor.minimap.renderCharacters": false, | |
"editor.overviewRulerBorder": false, | |
"editor.minimap.enabled": false, | |
"git.decorations.enabled": false, | |
"liveServer.settings.donotShowInfoMsg": true, | |
"eslint.alwaysShowStatus": true, | |
"editor.cursorSmoothCaretAnimation": true, | |
"editor.renderControlCharacters": false, | |
"http.proxy": "https://127.0.0.1:8080", | |
"prettier.eslintIntegration": true, | |
"eslint.options": { | |
"parserOptions": { | |
"ecmaVersion": 9, | |
"sourceType": "script", | |
"ecmaFeatures": {} | |
}, | |
"rules": { | |
"constructor-super": 2, | |
"for-direction": 2, | |
"getter-return": 2, | |
"no-case-declarations": 2, | |
"no-class-assign": 2, | |
"no-compare-neg-zero": 2, | |
"no-cond-assign": 2, | |
"no-console": 2, | |
"no-const-assign": 2, | |
"no-constant-condition": 2, | |
"no-control-regex": 2, | |
"no-debugger": 2, | |
"no-delete-var": 2, | |
"no-dupe-args": 2, | |
"no-dupe-class-members": 2, | |
"no-dupe-keys": 2, | |
"no-duplicate-case": 2, | |
"no-empty-character-class": 2, | |
"no-empty-pattern": 2, | |
"no-empty": 2, | |
"no-ex-assign": 2, | |
"no-extra-boolean-cast": 2, | |
"no-extra-semi": 2, | |
"no-fallthrough": 2, | |
"no-func-assign": 2, | |
"no-global-assign": 2, | |
"no-inner-declarations": 2, | |
"no-invalid-regexp": 2, | |
"no-irregular-whitespace": 2, | |
"no-mixed-spaces-and-tabs": 2, | |
"no-new-symbol": 2, | |
"no-obj-calls": 2, | |
"no-octal": 2, | |
"no-redeclare": 2, | |
"no-regex-spaces": 2, | |
"no-self-assign": 2, | |
"no-sparse-arrays": 2, | |
"no-this-before-super": 2, | |
"no-undef": 2, | |
"no-unexpected-multiline": 2, | |
"no-unreachable": 2, | |
"no-unsafe-finally": 2, | |
"no-unsafe-negation": 2, | |
"no-unused-labels": 2, | |
"no-unused-vars": 1, | |
"no-useless-escape": 2, | |
"require-yield": 2, | |
"use-isnan": 2, | |
"valid-typeof": 2 | |
}, | |
"env": {} | |
}, | |
"eslint.autoFixOnSave": true, | |
"search.usePCRE2": true, | |
"editor.multiCursorModifier": "ctrlCmd" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment