How to focus on editor without closing the terminal #10093
-
I'd like to know how to focus on the editor while I am currently working on terminal, without closing the terminal? Just like you can do with the "tab" key when you are searching with "cmd+f". You can focus on the editor with "tab" and come back to the search text write with "cmd+f" again with this:
tried
to do that but couldn't make it. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
I think, the actions you're looking for are |
Beta Was this translation helpful? Give feedback.
-
I've got it to do exactly the opposite of the behaviour you're looking for, but the original keymap for this is ctrl-`, I think. zed-term-toggle.mp4 |
Beta Was this translation helpful? Give feedback.
-
This has been driving me bonkers, too. What my brain does now is |
Beta Was this translation helpful? Give feedback.
-
I still don't understand what the problem is: with You can also overwrite it, here's the terminal part: {
// 👇 - Create binding for Terminal
"context": "Terminal",
"bindings": {
//
// 👇 - On `esc` toggle back to editor
"escape": "terminal_panel::ToggleFocus"
//
//
//
}
} That works for me. screenshot-2024-04-10-06.42.48.mp4 |
Beta Was this translation helpful? Give feedback.
I've got it to do exactly the opposite of the behaviour you're looking for, but the original keymap for this is ctrl-`, I think.
zed-term-toggle.mp4