VSCodeVim / VSCodeVim/Vim

`<C-j>`/`<C-k>` don't work in command edit box

Open
#3,280 2 comments 0 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

If you go to the command edit box that opens at the top of VS Code, ctrl+j/k don't work to navigate options. They work in autocompletion box.

The command edit box is opened when you go to symbol (ctrl+shift+o), look for file (ctrl+p) and run command (ctrl+shift+p).

To Reproduce
Steps to reproduce the behavior:

  1. Open file with methods eg JavaScript file.
  2. Press ctrl+shift+o to go to command box at top to view symbols
  3. As you start typing, the list of symbols appears.
  4. Press ctrl+j or ctrl+k to navigate up and down list. Nothing happens.

By default ctrl+j toggles a pane. I disabled this mapping.

Expected behavior
I expect the highlighted symbol (or file or command) to change. When I press Enter I expect the highlighted symbol to be selected.

Environment (please complete the following information):

  • Extension Name: vim
  • Extension Version: 0.17.0
  • OS Version: Windows_NT x64 10.0.17763
  • VSCode version: 1.30.0

Additional context
Add any other context about the problem here.

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 from the listed VS Code shortcuts: Ctrl+Shift+O, Ctrl+P, and Ctrl+Shift+P, then inspect how the command edit box handles Ctrl+J and Ctrl+K compared with the autocompletion box. Done means these keys move the highlighted symbol, file, or command and Enter selects it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.