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

Add replacements within search commands #233

Closed
alexjbest opened this issue Feb 13, 2022 · 2 comments
Closed

Add replacements within search commands #233

alexjbest opened this issue Feb 13, 2022 · 2 comments

Comments

@alexjbest
Copy link

Running a search and replace with unicode completed text is often useful (e.g. if rintros? produced an we want to get rid of).

However currently if I type :s/\s/sigma/g in vim the \s does not replace with sigma.
I understand why this can be annoying by default (especially if the leader is set to \) but this would be a useful option to enable with some keypress, or in a config, even having this work only in the q: buffer (not sure what this is called sorry) would be fine I guess.

@Julian
Copy link
Owner

Julian commented Feb 13, 2022

I think this is a dupe of #205 -- where we have some ideas for how this could work. And yeah it's super annoying :/

I can try to make some time to look at Gabriel's idea there at least for getting the builtin abbrev expander working.

@alexjbest
Copy link
Author

Oh oops looks like you are right! I did search for existing issues but somehow didn't find it with my keywords :)
If you were able to look at this more it would be really cool, no pressure though, I'm very used to working around this so its not a necessary feature in that sense!

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

No branches or pull requests

2 participants