Created
February 4, 2022 16:34
-
-
Save mildrenben/e43a93f57b3771ed62ba58c7e524d421 to your computer and use it in GitHub Desktop.
vscode keybindings
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": "shift+cmd+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+cmd+right", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "shift+alt+i", | |
"command": "-editor.action.insertCursorAtEndOfEachLineSelected", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+q", | |
"command": "editor.emmet.action.expandAbbreviation" | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "shift+cmd+]", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "shift+cmd+[", | |
"command": "-workbench.action.previousEditor" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "workbench.action.editor.changeLanguageMode" | |
}, | |
{ | |
"key": "cmd+k m", | |
"command": "-workbench.action.editor.changeLanguageMode" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "multiline-move.cursorUp" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "multiline-move.cursorDown" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-editor.action.insertLineAfter", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-notebook.cell.insertCodeCellBelow", | |
"when": "notebookCellListFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-search.action.openInEditor", | |
"when": "hasSearchResult && searchViewletFocus" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-breadcrumbs.revealFocused", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-breadcrumbs.revealFocusedFromTreeAside", | |
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-scm.acceptInput", | |
"when": "scmRepository" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-workbench.action.submitComment", | |
"when": "commentEditorFocused" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-editor.action.replaceAll", | |
"when": "editorFocus && findWidgetVisible && replaceInputFocussed" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-debug.openBreakpointToSide", | |
"when": "breakpointsFocused" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-notebook.cell.executeAndInsertBelow", | |
"when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-wallaby.testingMenuGoToFile", | |
"when": "focusedView == 'workbench.view.testing'" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+7", | |
"command": "notebook.cell.executeAndInsertBelow", | |
"when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+enter", | |
"command": "todo.toggleBox", | |
"when": "editorTextFocus && editorLangId == 'todo'" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-todo.toggleBox", | |
"when": "editorTextFocus && editorLangId == 'todo'" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment