VSCodeVim / VSCodeVim/Vim

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

Open
#7,257 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Reproduce the sequence in VSCode with both the Sidebar and Panel visible, using the reported VSCodeVim and VSCode versions, then trace the handling of Ctrl-w Ctrl-h versus Ctrl-w Ctrl-j. Done means Ctrl-w Ctrl-j focuses the Panel while Ctrl remains held, consistently with the expected Vim behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.