-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Implement Helix match mode (m i and m a)
#35687
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
Conversation
6fddd38 to
49a55d8
Compare
49a55d8 to
3258d25
Compare
|
Oh no what about my #34060? Only took me until now, while you did this impressively fast I believe 😅 |
|
Sorry, I missed it entirely. This looks really good TBH and amazing that even though I'm new to zed, our implementation look similar. I try to ship in small incremental improvements. I can pick this apart. 👍 |
|
I'm going to close this for now as it conflicts horribly; but I think we do want this feature. @fantacell do you know when you'll get time to work on #34060 ? |
Resolves: #33906
Resolves: #32020
Resolves: #31997
Merge after: #35612, #35611, #35501, #35468
This PR re-uses vim's operator logic to implement Helix "match" mode.
m iandm awork well across all existing objects with some tweaks around paragraphs.Release Notes:
v vno longer drop you into Normal mode out of HelixNormalm iandm aThe gist of this PR here: 3258d258c87aa20135ad4490ead424ebb59e76be
Bugs: