VSCodeVim / VSCodeVim/Vim

EasyMotion not working in Operator-pending mode

Open
#7,468 7 comments 20 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
It doesn't seem like the EasyMotion commands work in Operator-pending mode.

To Reproduce
Steps to reproduce the behavior:

In a buffer, type d<leader><leader>s<something...>.

Expected behavior
I expected the EasyMotion behavior to kick in, but as far as I can tell I just get dropped out of Operator-pending mode back to Normal mode after the first time I press <leader> (which for me is \, the default).

(EasyMotion works great for me in Normal, Insert, and Visual modes.)

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):

  • Extension (VsCodeVim) version: latest. (1.22.1)
  • VSCode version: 1.64.0
  • OS: macOS 12

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

The issue names no files or tests. Start by reproducing the d<leader><leader>s<something...> sequence in VSCodeVim with EasyMotion enabled, then trace handling for EasyMotion commands in Operator-pending mode; done when the command preserves Operator-pending mode and performs the expected motion.

Written by the indexing model from the issue text.

Assessment

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