VSCodeVim / VSCodeVim/Vim

Block select, move up, delete and then repeat should not move the cursor again.

Open
#2,802 3 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

BUG REPORT

Not sure the correct title for this bug, fell free to edit it to something more meaningful.

Start with an empty file, hit following keys:

5OabcEsc0C-vkkd.

What happened:

bc
bc
c
bc
bc

What did you expect to happen:

abc
abc
c
c
c

Environment:

  • Extension (VsCodeVim) version: 0.13.0
  • VSCode version: 1.24.1
  • OS version: Microsoft Windows [Version10.0.17134.112]

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 key sequence in an empty VS Code file and compare the actual and expected text. Trace the TypeScript handling for blockwise visual selection, moving up, deletion, and repeating the command; done means the repeated operation produces the expected five-line result without moving the cursor again.

Written by the indexing model from the issue text.

Assessment

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