VSCodeVim / VSCodeVim/Vim

`[num] is` doesn't select the `[num]` inner sentences correctly.

Open
#6,432 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When typing d [num] is and [num] > 3, it can't delete the [num] inner sentences correctly.
The key sequence is d 4 i s
Peek 2021-04-06 16-49
This is what Vim does
Peek 2021-04-06 16-50

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 reported key sequence d 4 i s in the VSCodeVim extension and compare the selection with Vim's behavior shown in the issue. Trace the implementation of numbered inner-sentence motions, then verify that deleting four inner sentences matches Vim without changing the behavior for smaller counts.

Written by the indexing model from the issue text.

Assessment

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