VSCodeVim / VSCodeVim/Vim

Repeating typing with `.` is extremely slow.

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

Nobody has claimed this yet.

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

Description

  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


What happened:

Typing a bunch of stuff, exiting insert mode, perform a motion, then press . to repeat typing. The previously typed characters will be inserted one at a time. If you typed a whole word or two, it can take up to a second to repeat the typing action.

What did you expect to happen:

It should instantaneously insert all of the typed characters in one go.

How to reproduce it:

  1. Open a new file and insert several blank lines.
  2. Go to the first blank line, type i to enter insert mode, and type random giberish on that line.
  3. Press esc to exit insert mode.
  4. Press j to go to the next line.
  5. Press . to repeat the typing from step 2.

Notice how long it takes for the gibberish insert to be reproduced.

You may repeat steps 4 and 5 for as many blank lines as you have to experience the issue again.

Depending on timing factors, you may also notice that about halfway through the insertion, the auto-completion dropdown momentarily appears, indicating that this assert is not being performed atomically.

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 issue using the numbered VSCodeVim steps: repeat inserted text with . across blank lines and observe the delay and autocomplete dropdown. Trace the repeat-insertion path and verify that the full text is inserted atomically and instantaneously, without triggering the dropdown midway.

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
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.