VSCodeVim / VSCodeVim/Vim

Repeated actions aren't always synchronous

Open
#1,647 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Related: https://github.com/Microsoft/vscode/issues/25278
#1340 may also be related

What happened:
Have a set up like

|foo
bar

Press yy to copy the foo, and then hold down p.

The foo will eventually jump past the bar, resulting in something like

...
foo
foo
bar
foo
foo
...

This is the one place that I've encountered this consistently, but considering the above bug report and the likely causes, I'm guessing this may be a more pervasive issue.

What did you expect to happen:
The bar stays at the bottom.

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

No file, test, or entry point is named. Reproduce the issue with the shown two-line buffer, yy, and repeated p input, then trace how repeated actions are queued and applied. Done means the bar remains below the inserted foo lines and related repeated-action cases do not regress.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.