# editor: Accept next line prediction \(\#44411\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d4f965724c437aaf2a1a11635838fa9b7224b4ce

Requested commit: d4f965724c437aaf2a1a11635838fa9b7224b4ce

Commit: d4f965724c437aaf2a1a11635838fa9b7224b4ce

Tree: bf953fbffafe36e5160fbfd5f3e8b5045fe7a17c

Author: teleoflexuous

Committer: GitHub

## Message

```
editor: Accept next line prediction (#44411)

Closes  [#20574](https://github.com/zed-industries/zed/issues/20574)

Release Notes:

- Replaced editor action editor::AcceptPartialEditPrediction with
editor::AcceptNextLineEditPrediction and
editor::AcceptNextWordEditPrediction

Tested manually on windows, attaching screen cap.
https://github.com/user-attachments/assets/fea04499-fd16-4b7d-a6aa-3661bb85cf4f

Updated existing test for accepting word prediction in copilot - it is
already marked as flaky, not sure what to do about it and I'm not really
confident creating new one without a working example.

Added migration of keymaps and new defaults for windows, linux, macos in
defaults and in cursor.

This should alleviate
[#21645](https://github.com/zed-industries/zed/issues/21645)
I used some work done in stale PR
https://github.com/zed-industries/zed/pull/25274, hopefully this one
makes it through!

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>
```

## Parents

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

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