# helix: Fix a cursor position in helix_select mode\` \(\#57610\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 60374460f263aaf56b8c1ced54f7731c0324b1f5

Requested commit: 60374460f263aaf56b8c1ced54f7731c0324b1f5

Commit: 60374460f263aaf56b8c1ced54f7731c0324b1f5

Tree: fdd9e5b789c979fde325f629e2d657008ff26430

Author: Pulkit Saraf

Committer: GitHub

## Message

```
helix: Fix a cursor position in helix_select mode` (#57610)

Closes #56493

In Helix select mode, pressing `a` after a selection (e.g. `v a`) placed
the cursor one column too far to the right.

Bound `a` to `vim::HelixAppend` in the `helix_select` keymap so it
matches the behavior in `helix_normal`, and added a regression test for
the `v a` case.

Release Notes:

- Fixed cursor placement after pressing `a` in Helix select mode.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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