Enable "let" command to assign registers
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Currently :let @1 = @2 is not supported, because it's not implemented: https://github.com/VSCodeVim/Vim/blob/4cf03602a314cf0c5758dece19f98f28dc2be6ae/src/cmd_line/commands/let.ts#L146
I'd like to implement let assignment of registers.
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
Start in src/cmd_line/commands/let.ts around line 146, where register assignment is noted as unimplemented. Trace how the :let command parses assignments and how registers are represented, then implement support for assigning one register to another. Done means :let @1 = @2 is accepted and performs the requested assignment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100