Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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"
    },


ctr+` 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.


It only opens the terminal by default. The key binding is to use the same shortcut to focus back to the editor.


It does that by default too.


It didn't when I set it up, but I haven't removed the keybindings to test if this has changed recently.


Nope. 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.


I can’t tell if Ctrl-` is portable. Anyone know if it’s representable on terminals?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: