Last active
November 23, 2018 11:56
-
-
Save zeromancer/e42a09347b6abde7359e04f8474cfbda to your computer and use it in GitHub Desktop.
This file contains 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 | |
[{ | |
"key": "f3", | |
"command": "editor.action.goToDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+f5", | |
"command": "workbench.action.reloadWindow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+f5", | |
"command": "workbench.files.action.refreshFilesExplorer" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "-editor.action.referenceSearch.trigger", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+shift+7", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "-revealFileInOS", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+u", | |
"command": "-editor.action.removeCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+o", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "ctrl+shift+o", | |
"command": "typescriptHero.imports.organize", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+o", | |
"command": "-typescriptHero.imports.organize", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+a", | |
"command": "-editor.action.blockComment", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+a", | |
"command": "-editor.action.blockComment", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+s", | |
"command": "workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "ctrl+s", | |
"command": "-workbench.action.files.save" | |
}, | |
{ | |
"key": "ctrl+k s", | |
"command": "-workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "ctrl+shift+s", | |
"command": "-workbench.action.files.saveAs" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "-workbench.view.debug" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+f", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+f", | |
"command": "-editor.action.formatSelection", | |
"when": "editorHasSelection && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "-workbench.action.gotoLine" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "editor.action.referenceSearch.trigger", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "-editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+c", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+c", | |
"command": "editor.action.blockComment", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+c", | |
"command": "-editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-workbench.action.navigateForward" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "workbench.action.navigateForward" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment