Add support for loading/updating macros
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.
FEATURE REQUEST
I use macros very often and sometimes I mess up. Instead of redefining the macro from scratch, Vim allows to paste the macro definition from the register to the current document, edit it there and load it back to the register. It's also possible to define the macro in the document in the first place and load it into a register afterwards. For example (replace X with Ctrl+V Ctrl+C):
aVim is neat!Xyyppp
It's now possible to load it into a register and execute it:
"qyy@q
Vim is neat!
Vim is neat!
Vim is neat!
Vim is neat!
It'd be nice if VSCodeVim supported it as well.
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 by tracing VSCodeVim's existing macro, register, and recording behavior; the issue's Vim examples define the expected workflow. Check how a macro is currently stored and executed, then verify that users can paste a register's definition into a document, edit it, and load it back before executing it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100