VSCodeVim / VSCodeVim/Vim

some command can't accept numeric prefix and some easymotion command don't work

Open
#5,459 2 comments 0 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

command j & k can't accept numeric prefix, but command h & l work.
easymotion j/k doesn't work, other command ok.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'editor area'
  2. Click on '5', status show '5'
  3. click 'j', cursor down a line , '5' still in there
  4. click '5' again,
  5. show '55' ,
  6. click 'k',
  7. cursor up a line,
  8. '55' still in there.

easymotion bug:

  1. click '<leader><leader>' ,status show '<leader><leader>'
  2. click 'j', '<leader><leader>' stil in there, cursor down a line, nothing hint.

Expected behavior
A clear and concise description of what you expected to happen.
j & k motion can't accept numeric prefix.

Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Environment (please complete the following information):
installed vim, viml plugins
easymotion ture
doesn't config like
{
"key": "up",
"command": "cursorUp",
"when": "editorTextFocus && vim.active && !inDebugRepl && !suggestWidgetMultipleSuggestions && !suggestWidgetVisible"
}

  • Extension (VsCodeVim) version: 1.17.1
  • VSCode version: 1.50.1 (user setup)
  • OS: Windows_NT x64 6.1.7601

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 j/k numeric-prefix and easymotion failures in the VSCodeVim extension using the reported VS Code 1.50.1 and extension 1.17.1 environment, then trace the key-handling entry points for those commands. Done means numeric prefixes are consumed by j and k, and the easymotion leader sequence displays its expected hint.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.