Browse Source

Adding VSCode custom keybindings

pull/2/head
Ryan Reed 3 years ago
parent
commit
8bbd790437
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      dot_config/private_Code - OSS/User/keybindings.json

+ 30
- 0
dot_config/private_Code - OSS/User/keybindings.json View File

@ -0,0 +1,30 @@
// Place your key bindings in this file to override the defaults
[
// Disable Find in Files using Ctrl+Shift+F
{
"key": "ctrl+shift+f",
"command": "-workbench.action.findInFiles"
},
// Format Code: ctrl+shift+f
{
"key": "ctrl+shift+f",
"command": "notebook.formatCell",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "ctrl+shift+i",
"command": "-notebook.formatCell",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "ctrl+shift+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
}
]

Loading…
Cancel
Save