Support `cpoptions` or at least a way to repeat yank commands
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
I want to be able to repeat yank commands, for example to comfortably append to the same register
Describe the solution you'd like
I want to type once "AyiW and then be able to repeat using .
Describe alternatives you've considered
Seems that normal vim has an option cpoptions, which allows this kind of repeat. I am ok with either supporting this more general usecase or just the feature I described.
Additional context
https://vi.stackexchange.com/a/18447/27445
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
No file or test is named in the issue. Start by locating the handling for the repeat command . and for yank/register commands, then compare the "AyiW followed by . behavior with existing tests. Done means repeated yank commands append to the same register as requested, or the supported cpoptions behavior is clearly defined and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100