Repeating typing with `.` is extremely slow.
Nobody has claimed this yet.
- 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:
- Open a new file and insert several blank lines.
- Go to the first blank line, type
ito enter insert mode, and type random giberish on that line. - Press
escto exit insert mode. - Press
jto go to the next line. - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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