VSCodeVim / VSCodeVim/Vim

`<C-w>l` does not switch from Side Bar to the currently displayed editor

Open
#7,020 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
When Side Bar (e.g. Explorer) is focused pressing Ctrl+W L does not switch to the currently displayed editor

To Reproduce

  1. Make the Side Active
  2. Turn Ctrl+W L

Expected behavior
Expected that currently displayed editor is activated and ready for intput

Screenshots
Screenshot from 2021-08-22 12-32-45

Environment

  • Extension (VsCodeVim) version: 1.21.6
  • VSCode version: 1.59.0
  • OS: Ubuntu 20.04

Additional context
Any default binding related to Ctrl+W which closes the currenly displayed editor and L which opens the given file are removed as follows

{ "key": "ctrl+w", "command": "-workbench.action.closeActiveEditor" }

{ "key": "l", "command": "-list.select", "when": "listFocus && !inputFocus" }

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

Start by reproducing the keybinding in VS Code 1.59.0 with the Explorer or another Side Bar view focused, then inspect the TypeScript key handling for Ctrl+W followed by L. Done means Ctrl+W L activates the currently displayed editor and leaves it ready for input without the conflicting default bindings.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
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.