Skip to content

Instantly share code, notes, and snippets.

@sirodoht
Last active April 1, 2020 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sirodoht/4a5fe3e1b58ef429683df52d2fded37c to your computer and use it in GitHub Desktop.
Save sirodoht/4a5fe3e1b58ef429683df52d2fded37c to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+k i",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "ctrl+down",
"command": "scrollLineDown",
"when": "textInputFocus"
},
{
"key": "ctrl+pagedown",
"command": "-scrollLineDown",
"when": "textInputFocus"
},
{
"key": "ctrl+up",
"command": "scrollLineUp",
"when": "textInputFocus"
},
{
"key": "ctrl+pageup",
"command": "-scrollLineUp",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+h",
"command": "extension.dash.specific",
"when": "editorTextFocus"
},
{
"key": "ctrl+h",
"command": "-extension.dash.specific",
"when": "editorTextFocus"
},
{
"key": "shift+enter",
"command": "-python.datascience.runcurrentcelladvance",
"when": "editorTextFocus && python.datascience.featureenabled && python.datascience.hascodecells && !editorHasSelection"
},
{
"key": "shift+enter",
"command": "-python.datascience.execSelectionInteractive",
"when": "editorTextFocus && python.datascience.featureenabled && python.datascience.ownsSelection && !findInputFocussed && !replaceInputFocussed && editorLangId == 'python'"
},
{
"key": "shift+enter",
"command": "-python.execSelectionInTerminal",
"when": "editorTextFocus && !findInputFocussed && !python.datascience.ownsSelection && !replaceInputFocussed && editorLangId == 'python'"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "workbench.action.quickOpenNavigatePreviousInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.quickOpenNavigatePreviousInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment