VSCodeVim / VSCodeVim/Vim

`<C-w>w` does not jump from right pane to left pane when comparing two files

Open
#4,509 1 comment 3 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
<C-w>w does not jump from right pane to left pane when comparing two files

To Reproduce
Steps to reproduce the behavior:

  1. Open two new files in VS Code and type something random in both files;
  2. In VS Code's Exlorer:
    a. select the two files;
    b. right-click;
    c. select "Compare Selected" in the pop-up menu;
  3. Ensure the cursor is on the left pane (e.g. by clicking the text in the left pane);
  4. Press Ctrl+w, w;
  5. See the cursor jump to the right pane;
  6. Press Ctrl+w, w again;
  7. See that the cursor does not jump back to the left pane.

Expected behavior
The cursor should jump back to the left pane.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.12.4
  • VSCode version: 1.41.1
  • OS: Pop!_OS 19.10 (which is like Ubuntu 19.10 with a fancy theme and different GNOME desktop default settings)

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

Reproduce the issue in VS Code by comparing two selected files and pressing Ctrl+w, w from each pane. Then trace the VSCodeVim handling for this key sequence and compare-pane behavior; done means the cursor cycles from the left pane to the right pane and back again.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.