Skip to content

Commit 5ebb532

Browse files
committed
feat(vs): cmd+0 toggle focus between editor and sidebar
1 parent 858d45d commit 5ebb532

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

vscode/macos/keybindings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@
6060
"command": "workbench.action.focusActiveEditorGroup",
6161
"when": "terminalFocus"
6262
},
63+
// Focus sidebar when in editor AND focus editor when in sidebar
64+
{
65+
"key": "cmd+0",
66+
"command": "workbench.action.focusSideBar",
67+
"when": "editorFocus"
68+
},
69+
{
70+
"key": "cmd+0",
71+
"command": "workbench.action.focusActiveEditorGroup",
72+
"when": "sideBarFocus"
73+
},
6374
{
6475
"key": "cmd+\\",
6576
"command": "-workbench.action.splitEditor"

0 commit comments

Comments
 (0)