scripting :%substitute
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Discussed in https://github.com/VSCodeVim/Vim/discussions/8374
Originally posted by IamJimbus April 15, 2023
I am getting much better at my regex/substitute work, converting access queries into SQL Server views to create SSRS reports, sometimes there's 15-20 queries per report. I've got it down to 6 or so :%s//g commands that I loop through and I'd like to set these up in some sort of script or macro to manage and execute them. How would I do this in this Vim?
TiA,
3
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
Review discussion 8374 and the issue's described sequence of :%s//g commands to determine whether a scripting or macro workflow is being requested. A concrete change target, relevant files, and acceptance criteria are not provided, so implementation cannot be started from this issue alone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vim
- Domain
- tooling
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100