macro does not record cursor moving
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
i have a few lines and i am trying to record a macro (e.g., qa..) to run edits on oneline and then goto the next line
so i can run something like 10@a to edit 10 lines.
however, the macro only records the edits but not the moving of cursor to the next line (e.g, j in normal mode)
To Reproduce
Steps to reproduce the behavior:
- go to normal mode
- press
qax<esc>jq - check register a and j is not there in the recorded macro, what i have in register
ais justx<esc>
- Extension (VsCodeVim) version:
- VSCode version: 1.75.1
- OS: windows 10
Additional context
Add any other context about the problem here.
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 source file or test is named. Start by reproducing the reported sequence in VSCodeVim: record qax<esc>jq, then inspect register a and compare it with the expected macro contents. Done means cursor movement with j is retained so replaying the macro can process successive lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100