# Reset selection goal after helix motion \(\#33184\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fbb5628ec6f4ab0badace8b0f1c4b77d89b2e4ba

Requested commit: fbb5628ec6f4ab0badace8b0f1c4b77d89b2e4ba

Commit: fbb5628ec6f4ab0badace8b0f1c4b77d89b2e4ba

Tree: c83a27ef7117f39771576076f78640e006ed85a2

Author: fantacell

Committer: GitHub

## Message

```
Reset selection goal after helix motion (#33184)

Closes #33060

Motions like `NextWordStart` don't reset the selection goal in vim mode
`helix_normal` unlike in `normal` which can lead to the cursor jumping
back to the previous horizontal position after going up or down.

Release Notes:

- N/A
```

## Parents

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

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