Keybinding for "Switch Focus To Editor" #6826
Closed
DanEEStar
started this conversation in
Feature Requests
Replies: 4 comments 4 replies
|
I have this in my {
"context": "Terminal",
"bindings": {
"ctrl-w t": "terminal_panel::ToggleFocus"
}
}Does that work? |
3 replies
|
Thanks for the discussion, I was able to achieve the expected behavior for the terminal pane, however I would like my shortcut to work globally for any pane. There I am struggling to make it work for the assistant pane. I use ctrl-e for switching back to the editor pane, so I would expect the following keymap entry to work. {
"context": "AssistantPanel",
"bindings": {
"ctrl-shift-e": "assistant::ToggleFocus"
}
},This does not do anything, unfortunately. Any help would be appreciated :) |
0 replies
|
There seems to be a default keycode now, it works for toggling between editor and terminal: |
1 reply
|
i used zed , usually i used ctrl +shift + E to focus on file navbar, press again to focus on ediot after that i use ctrl + j to focus or even open the terminal in zed |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I can map a keybinding to go to the terminal like
"terminal_panel::ToggleFocus".But I could not map a keybinding to go back to the editor from the terminal.
There are different
ActivatePane...actions.A workaround is the binding to
["workspace::ActivatePane", 0].But I want to go back to the editor to the last pane I was in before...
All reactions