Created
June 8, 2019 11:05
-
-
Save ilearnio/b823f85dfc68bb5542ef8940065a32db to your computer and use it in GitHub Desktop.
VSCode keybindings
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 override the defaults | |
[ | |
{ | |
"key": "cmd+l", | |
"command": "console.log.wrap.down.prefix", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+w ctrl+alt+down", | |
"command": "-console.log.wrap.down.prefix", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+c ctrl+alt+c", | |
"command": "extension.changeCase.camel" | |
}, | |
{ | |
"key": "ctrl+alt+c ctrl+alt+s", | |
"command": "extension.changeCase.snake" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "extension.changeCase.upper" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "extension.changeCase.lower" | |
}, | |
{ | |
"key": "ctrl+alt+c ctrl+alt+a", | |
"command": "extension.changeCase.constant" | |
}, | |
{ | |
"key": "ctrl+alt+c ctrl+alt+d", | |
"command": "extension.changeCase.kebab" | |
}, | |
{ | |
"key": "ctrl+alt+c ctrl+alt+p", | |
"command": "extension.changeCase.pascal" | |
}, | |
{ | |
"key": "ctrl+alt+c ctrl+alt+e", | |
"command": "extension.changeCase.sentence" | |
}, | |
{ | |
"key": "ctrl+shift+s ctrl+shift+l", | |
"command": "git.stageSelectedRanges" | |
}, | |
{ | |
"key": "ctrl+shift+s ctrl+shift+f", | |
"command": "git.stage" | |
}, | |
{ | |
"key": "ctrl+shift+s ctrl+shift+backspace", | |
"command": "git.clean" | |
}, | |
{ | |
"key": "ctrl+escape", | |
"command": "search.action.clearSearchResults" | |
}, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+cmd+down", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+c ctrl+c", | |
"command": "copyFilePath" | |
}, | |
{ | |
"key": " ctrl+c ctrl+r", | |
"command": "copyRelativeFilePath" | |
}, | |
{ | |
"key": "shift+alt+d", | |
"command": "fileutils.duplicateFile" | |
}, | |
{ | |
"key": "alt+cmd+backspace", | |
"command": "deleteFile", | |
"when": "config.files.enableTrash" | |
}, | |
{ | |
"key": "ctrl+cmd+g", | |
"command": "editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+l", | |
"command": "-editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "workbench.view.debug" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "-workbench.view.debug" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "-workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+shift+z", | |
"command": "expand-selection-to-scope.expand" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+right", | |
"command": "-editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+z", | |
"command": "editor.action.smartSelect.expand" | |
}, | |
{ | |
"key": "ctrl+c ctrl+f", | |
"command": "fileutils.copyFileName" | |
}, | |
{ | |
"key": "ctrl+c ctrl+c", | |
"command": "copyFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+c", | |
"command": "-copyFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "ctrl+c ctrl+r", | |
"command": "copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "shift+alt+cmd+c", | |
"command": "-copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "alt+q", | |
"command": "gitlens.diffLineWithWorking", | |
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+w", | |
"command": "-gitlens.diffLineWithWorking", | |
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/" | |
}, | |
{ | |
"key": "alt+w", | |
"command": "rewrap.rewrapComment", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+q", | |
"command": "-rewrap.rewrapComment", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+s", | |
"command": "editor.action.sortLinesAscending" | |
}, | |
{ | |
"key": "ctrl+t ctrl+t", | |
"command": "test-explorer.run-test-at-cursor" | |
}, | |
{ | |
"key": "ctrl+t ctrl+f", | |
"command": "test-explorer.run-file" | |
}, | |
{ | |
"key": "ctrl+t ctrl+a", | |
"command": "test-explorer.run-all" | |
}, | |
{ | |
"key": "ctrl+t ctrl+d", | |
"command": "test-explorer.debug-test-at-cursor" | |
}, | |
{ | |
"key": "cmd+t cmd+l", | |
"command": "test-explorer.rerun" | |
}, | |
{ | |
"key": "alt+=", | |
"command": "extension.calculate" | |
}, | |
{ | |
"key": "alt+'", | |
"command": "editor.togglequotes" | |
}, | |
{ | |
"key": "cmd+'", | |
"command": "-editor.togglequotes" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "code-runner.run" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "-code-runner.run" | |
}, | |
{ | |
"key": "cmd+shift+c", | |
"command": "macros.copyLineContents" | |
}, | |
{ | |
"key": "cmd+shift+x", | |
"command": "macros.cutLineContents" | |
}, | |
{ | |
"key": "ctrl+shift+x", | |
"command": "workbench.view.extensions" | |
}, | |
{ | |
"key": "shift+cmd+x", | |
"command": "-workbench.view.extensions" | |
}, | |
{ | |
"key": "ctrl+shift+s ctrl+shift+z", | |
"command": "git.stashIncludeUntracked" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "fileutils.moveFile" | |
}, | |
// Paste and Indent | |
{ | |
"key": "cmd+v", | |
"command": "editor.action.clipboardPasteAction", | |
"when": "!editorTextFocus" | |
}, | |
{ | |
"key": "cmd+shift+v", | |
"command": "editor.action.clipboardPasteAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "-clipboard.paste", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "editor.action.revealDefinition" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment