Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When editorFocus: <C-w><C-h> switches to the Sidebar, but <C-w><C-j> doesn't switch to the Panel #7257

Open
ghost opened this issue Nov 15, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 15, 2021

Describe the bug
When editor is focused Ctrl-w Ctrl-h can be used to focus the sidebar, but Ctrl-w Ctrl-j cannot be used to focus the Panel. In order to focus the Panel it's required to unhold the Ctrl before pressing j

To Reproduce

  1. Display both the Sidebar and Panel
  2. Focus the Text editor
  3. Press Ctrl-w Ctrl-j

Expected behavior
In usual Vim it's not required to unhold Ctrl after pressing Ctrl-w before navigating to the appropriate buffer. So the behavior seems to be natural.

Screenshots

Screenshot from 2021-11-15 19-29-01

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.21.10
  • VSCode version: 1.62.2
  • OS: Ubuntu 20.04.3
@J-Fields J-Fields changed the title When editorFocus: Ctrl-w Ctrl-h switches to the Sidebar, but Ctrl-w Ctrl-j doesn't to the Panel When editorFocus: <C-w><C-h> switches to the Sidebar, but <C-w><C-j> doesn't switch to the Panel Nov 17, 2021
@uloco
Copy link

uloco commented Jun 1, 2022

Especially if you navigate with j or k to a different file it does not work. also c-w c-w does work to get back to the editor, which is weird since it will also not get back to the sidebar after invoked again ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant