VSCodeVim / VSCodeVim/Vim

Using `.` command from an insert that made use of autocomplete doesn't incorporate the autocomplete

Open
#7,147 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status/needs-more-info
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
If in insert mode and I use autocomplete, using "." right after will not repeat the autocomplete usage. In general, I don't think that's the best behavior because this disincentivizes users to not use autocomplete if they want repeatable actions.

To Reproduce

  1. Go into insert mode
  2. Start typing and then use autocomplete (ctrl+n + enter to navigate and select)
  3. Exit insert mode
  4. Press .

Expected behavior
Pressing . should repeat the entire insert result. Not just what was physically typed.

Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Environment (please complete the following information):

  • Extension (VsCodeVim) version:
  • VSCode version:
  • OS:

Additional context
Add any other context about the problem here.

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 files, tests, or entry points are named. First reproduce the autocomplete and dot-repeat sequence in the issue, then locate the relevant insert-mode and repeat handling; done means dot repeats the autocomplete result as part of the full insertion.

Written by the indexing model from the issue text.

Assessment

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