-
Notifications
You must be signed in to change notification settings - Fork 5.9k
helix: Change selection cloning #38090
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
helix: Change selection cloning #38090
Conversation
|
Could this also solve #37332 ? |
Yes, thank you. |
f99dc38 to
a65c77b
Compare
a65c77b to
cb2ac37
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I've reorganised the code a little bit so that we keep this helix-only rather than adding new actions to the editor - if there ever is a need we can extract it from helix into the editor proper. But until such time I would be more comfortable narrowly scoping any helix-related changes to the helix module.
Closes zed-industries#33637 Closes zed-industries#37332 and solves part of zed-industries#33580 (comment) This improves the "C" and "alt-C" actions to work like helix. It also adds "," which removes all but the newest cursors. In helix the one that's left would be the primary selection, but I don't think that has an equivalent yet, so this simulates what would be the primary selection if it was never cycled with "(" ")". Release Notes: - Improved multicursor creation and deletion in helix mode --------- Co-authored-by: Jakub Konka <[email protected]>
Closes zed-industries#33637 Closes zed-industries#37332 and solves part of zed-industries#33580 (comment) This improves the "C" and "alt-C" actions to work like helix. It also adds "," which removes all but the newest cursors. In helix the one that's left would be the primary selection, but I don't think that has an equivalent yet, so this simulates what would be the primary selection if it was never cycled with "(" ")". Release Notes: - Improved multicursor creation and deletion in helix mode --------- Co-authored-by: Jakub Konka <[email protected]>
|
Thank you for this!/gen It's a small thing but still something I missed from Helix. |
Closes #33637
Closes #37332
and solves part of #33580 (comment)
This improves the "C" and "alt-C" actions to work like helix.
It also adds "," which removes all but the newest cursors. In helix the one that's left would be the primary selection, but I don't think that has an equivalent yet, so this simulates what would be the primary selection if it was never cycled with "(" ")".
Release Notes: