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

Integer registers for regex matches #2167

Open
nico-abram opened this issue Apr 19, 2022 · 0 comments · May be fixed by #8088
Open

Integer registers for regex matches #2167

nico-abram opened this issue Apr 19, 2022 · 0 comments · May be fixed by #8088
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@nico-abram
Copy link

I'm very new to both helix and kakoune, but reading kakoune's Migrating from Vim doc which is linked in the helix docs I found the following snippet to substitute in a selection: s(word1):(word2):(word3):(word4)<ret>c<c-r>4<c-r>2<c-r>3<c-r>1<esc>

But when I tried it in helix, it didn't work. I think helix might be lacking support for kakoune's Integer Registers which reference match groups in the last used regex expression.

@nico-abram nico-abram added the C-enhancement Category: Improvements label Apr 19, 2022
@kirawi kirawi added the A-helix-term Area: Helix term improvements label Apr 19, 2022
@doy doy linked a pull request Aug 28, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants