Last active
July 21, 2023 02:28
-
-
Save spartanatreyu/0effd998f6c373307cf84eed37aa2026 to your computer and use it in GitHub Desktop.
Personal vscode keybindings
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 overwrite the defaults | |
[ | |
// Close window if trying to close a tab and there are not tabs left to close | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.closeWindow", | |
"when": "!editorIsOpen && !multipleEditorGroups" | |
}, | |
// Overwrite default tab switching shortcuts: | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.openNextRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.quickOpenNavigateNextInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.quickOpenNavigatePreviousInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "alt+cmd+right", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "alt+cmd+left", | |
"command": "-workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+shift+'", | |
"command": "editor.emmet.action.wrapWithAbbreviation" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment