Support `:g[lobal]/[pattern]/[command]`
Open
Nobody has claimed this yet.
area/commandline
kind/feature
status/works-with-neovim
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
One of the main reasons I love VIM so much is the option to do "g/console.log/d" to clear out all the lines with console.log on my scripts, is there any chance of supporting it?
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 locating the command-processing entry point for Vim ex-style commands and trace how search patterns and commands are currently parsed. Implement support for the requested :g[global]/[pattern]/[command] form, including the example that deletes matching lines, and verify that global commands behave as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100