`<C-w>w` does not jump from right pane to left pane when comparing two files
Open
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:
- Open two new files in VS Code and type something random in both files;
- In VS Code's Exlorer:
a. select the two files;
b. right-click;
c. select "Compare Selected" in the pop-up menu; - Ensure the cursor is on the left pane (e.g. by clicking the text in the left pane);
- Press Ctrl+w, w;
- See the cursor jump to the right pane;
- Press Ctrl+w, w again;
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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