2 ms·
> I try Zed and VSCode and I always come back to this setup. I have Ctrl+` set to switch focus between the editor and the terminal panes in VSCode, so I can to
by airstrike 2y ago
> I try Zed and VSCode and I always come back to this setup.
I have Ctrl+` set to switch focus between the editor and the terminal panes in VSCode, so I can toggle between them pretty easily as this is also my workflow
If anyone's wondering, here's what I have in my keybindings.json
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus"
},
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
- ttyprintk 2y agoI can’t tell if Ctrl-` is portable. Anyone know if it’s representable on terminals?
- wodenokoto 2y agoctr+` is the default behavior on VS Code I use it all the time and I didn’t set it up and I’m sure as hell neither did my co workers. It’s a nice short cut if you have a keyboard with backtick to the left of 1 in the numeral row. If you’re from a country where keyboards have a different key there, I would recommend setting up a short cut manually.
- dhruvrajvanshi 2y agoIt only opens the terminal by default. The key binding is to use the same shortcut to focus back to the editor.
- wodenokoto 2y agoIt does that by default too.
- airstrike 2y agoIt didn't when I set it up, but I haven't removed the keybindings to test if this has changed recently.
- scottomyers 2y agoNope. It minimizes the terminal by default, at least on macOS. These keybinds leave the terminal / lower bar open and just shift focus back to the editor.