# git: New enter behaviour \(\#25986\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1086b282b87a878de71a727060112d55deb6739f

Requested commit: 1086b282b87a878de71a727060112d55deb6739f

Commit: 1086b282b87a878de71a727060112d55deb6739f

Tree: 39e39a8e97d5996516b207662a3b8b30cdb74515

Author: Conrad Irwin

Committer: GitHub

## Message

```
git: New enter behaviour (#25986)

Closes #25951

Release Notes:

- git: Update "enter" in the list of changed files to preserve focus. If
you want the old behaviour, hit enter twice.
- git: Follow the cursor, not the scroll anchor, in the list. Although
the scroll anchor was nice for passive scrolling, it broke if you had
changed the overflow scroll settings.
```

## Parents

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

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