Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

substitution statefulness #3067

Closed
captaincaius opened this issue Sep 22, 2018 · 0 comments
Closed

substitution statefulness #3067

captaincaius opened this issue Sep 22, 2018 · 0 comments

Comments

@captaincaius
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In normal vim I often will do a replacement, find the next one, and repeat the replacement with just :s - we currently don't have this

Describe the solution you'd like
state for the substitute, mirroring all the quirks vim has when mixing substitutions and searches in various orders ;)

Describe alternatives you've considered
All you can do is repeat the full :s/search/replace :'(

Additional context
I think the tests I wrote will make it clear ;)

Also... This is somewhat related to #2549 which is a little messy (mostly cause of me - sorry). I'm breaking the various things discussed there into distinct work chunks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants