Skip to content

Instantly share code, notes, and snippets.

@danielecook
Last active April 19, 2020 17:09
Show Gist options
  • Save danielecook/6d1844f2e7d84965e9d1ff02d30d3e2d to your computer and use it in GitHub Desktop.
Save danielecook/6d1844f2e7d84965e9d1ff02d30d3e2d to your computer and use it in GitHub Desktop.
VSCode Key Bindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "alt+cmd+j",
"command": "workbench.action.togglePanel"
},
{
"key": "cmd+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "cmd+f2",
"command": "editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "cmd+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly && !python.datascience.featureenabled"
},
{
/* Allows you to run individual lines in an ipynb */
"key": "cmd+enter",
"command": "python.datascience.execSelectionInteractive",
"when": "editorTextFocus && python.datascience.featureenabled && !findInputFocussed && !replaceInputFocussed && editorLangId == 'python'"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment