Last active
August 20, 2019 17:00
-
-
Save Clancey/31f366c49c739282e47abba4bcf2331b to your computer and use it in GitHub Desktop.
My VSCode keybindings to make it more like VSMac. Place it here: ~/Library/Application Support/Code/User/keybindings.json
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 | |
[ | |
{ | |
"key": "ctrl+i", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "-workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+s", | |
"command": "workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "alt+cmd+s", | |
"command": "-workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "workbench.action.tasks.build" | |
}, | |
{ | |
"key": "shift+cmd+b", | |
"command": "-workbench.action.tasks.build" | |
}, | |
{ | |
"key": "ctrl+shift+enter", | |
"command": "workbench.action.debug.stop", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+f5", | |
"command": "-workbench.action.debug.stop", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.goToDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.goToDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment