Last active
May 12, 2024 22:18
-
-
Save curtischong/fbac34ae9492ce5e36b97f8c798fafe4 to your computer and use it in GitHub Desktop.
vscode keybindings.json
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
| // This file is deprecated. Just use workbench.action.openEditorAtIndex3 (aka ctrl + 3) | |
| // Place your key bindings in this file to overwrite the defaults | |
| // Where is this file: preferences -> keyboard shortcuts -> the {} button in the top right | |
| [ | |
| // Switching tabs | |
| { | |
| "key": "cmd+0", | |
| "command": "workbench.action.openLastEditorInGroup" | |
| }, | |
| { | |
| "key": "cmd+1", | |
| "command": "workbench.action.openEditorAtIndex1" | |
| }, | |
| { | |
| "key": "cmd+2", | |
| "command": "workbench.action.openEditorAtIndex2" | |
| }, | |
| { | |
| "key": "cmd+3", | |
| "command": "workbench.action.openEditorAtIndex3" | |
| }, | |
| { | |
| "key": "cmd+4", | |
| "command": "workbench.action.openEditorAtIndex4" | |
| }, | |
| { | |
| "key": "cmd+5", | |
| "command": "workbench.action.openEditorAtIndex5" | |
| }, | |
| { | |
| "key": "cmd+6", | |
| "command": "workbench.action.openEditorAtIndex6" | |
| }, | |
| { | |
| "key": "cmd+7", | |
| "command": "workbench.action.openEditorAtIndex7" | |
| }, | |
| { | |
| "key": "cmd+8", | |
| "command": "workbench.action.openEditorAtIndex8" | |
| }, | |
| { | |
| "key": "cmd+9", | |
| "command": "workbench.action.lastEditorInGroup" | |
| }, | |
| { | |
| "key": "ctrl+1", | |
| "command": "workbench.action.focusFirstEditorGroup" | |
| }, | |
| { | |
| "key": "ctrl+2", | |
| "command": "workbench.action.focusSecondEditorGroup" | |
| }, | |
| { | |
| "key": "ctrl+3", | |
| "command": "workbench.action.focusThirdEditorGroup" | |
| }, | |
| // Switching panes | |
| { | |
| "key": "ctrl+h", | |
| "command": "workbench.action.navigateLeft" | |
| }, | |
| { | |
| "key": "ctrl+l", | |
| "command": "workbench.action.navigateRight" | |
| }, | |
| { | |
| "key": "ctrl+k", | |
| "command": "workbench.action.navigateUp" | |
| }, | |
| { | |
| "key": "ctrl+j", | |
| "command": "workbench.action.navigateDown" | |
| } | |
| ] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wed Aug 14, 2019 - Added shortcuts for window switching (https://stackoverflow.com/a/50593160/4647924)