Last active
October 2, 2023 23:27
-
-
Save rjurney/7854dff0d280584655daf09a888ac3f2 to your computer and use it in GitHub Desktop.
VSCode Keyboard Shortcuts: How do you focus on the 2nd-8th editor tab in the first group
This file contains 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 override the defaultsauto[] | |
[ | |
{ | |
"key": "cmd+l", | |
"command": "workbench.action.gotoLine" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "-workbench.action.gotoLine" | |
}, | |
{ | |
"key": "cmd+1", | |
"command": "workbench.action.firstEditorInGroup" | |
}, | |
{ | |
"key": "cmd+2", | |
"command": "workbench.action.openEditorAtIndex2", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+3", | |
"command": "workbench.action.openEditorAtIndex3", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+4", | |
"command": "workbench.action.openEditorAtIndex4", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "workbench.action.openEditorAtIndex5", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+6", | |
"command": "workbench.action.openEditorAtIndex6", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+7", | |
"command": "workbench.action.openEditorAtIndex7", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+8", | |
"command": "workbench.action.openEditorAtIndex8", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "editor.action.startFindReplaceAction", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "alt+cmd+f", | |
"command": "-editor.action.startFindReplaceAction", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "-workbench.action.quickOpenSelectPrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "cmd+right", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "cmd+left", | |
"command": "workbench.action.previousEditor" | |
} | |
] |
This file contains 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
{ | |
// I work fine | |
{ | |
"key": "cmd+1", | |
"command": "workbench.action.firstEditorInGroup" | |
}, | |
// I do not exist :( | |
{ | |
"key": "cmd+2", | |
"command": "workbench.action.secondEditorInGroup" | |
}, | |
// All the rest USED to work, but lately do not :( | |
{ | |
"key": "cmd+2", | |
"command": "workbench.action.focusSecondEditorInGroup" | |
}, | |
{ | |
"key": "cmd+3", | |
"command": "workbench.action.focusThirdEditorGroup" | |
}, | |
{ | |
"key": "cmd+4", | |
"command": "workbench.action.fourthEditorInGroup" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "workbench.action.fifthEditorInGroup" | |
}, | |
{ | |
"key": "cmd+6", | |
"command": "workbench.action.sixthEditorInGroup" | |
}, | |
{ | |
"key": "cmd+7", | |
"command": "workbench.action.seventhEditorInGroup" | |
}, | |
{ | |
"key": "cmd+8", | |
"command": "workbench.action.eighthEditorInGroup" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment