# helix: Change selection cloning \(\#38090\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/25172f990b098d1706455377f2a88c0afb7f3217)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 25172f990b098d1706455377f2a88c0afb7f3217

Requested commit: 25172f990b098d1706455377f2a88c0afb7f3217

Commit: 25172f990b098d1706455377f2a88c0afb7f3217

Tree: 83ad3bc9284b7a3dd9789a855f33c3fec922c11d

Author: fantacell

Committer: GitHub

## Message

```
helix: Change selection cloning (#38090)

Closes #33637
Closes #37332
and solves part of
https://github.com/zed-industries/zed/discussions/33580#discussioncomment-14195506

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 <kubkon@jakubkonka.com>
```

## Parents

- [23a0b6503c600b17d7ee4204c8484f880f8f4a1e](https://git.cafe/gitcafe/zed/commit/23a0b6503c600b17d7ee4204c8484f880f8f4a1e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/25172f990b098d1706455377f2a88c0afb7f3217?format=markdown)
