# Improve vim interactions with edit predictions \(\#24418\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f700268029163c683fe8f62320e1ffc4a346d616

Requested commit: f700268029163c683fe8f62320e1ffc4a346d616

Commit: f700268029163c683fe8f62320e1ffc4a346d616

Tree: e6fe307206a44139b161f29ad5ce11f7fcc89aae

Author: Michael Sloan

Committer: GitHub

## Message

```
Improve vim interactions with edit predictions (#24418)

* When an edit prediction is present in non-insertion modes, hide it but
show `tab Jump to edit`.
* Removes discarding of edit predictions when going from insert mode to
normal mode, instead just hide them in non-insertion modes.
* Removes zeta-specific showing of predictions in normal mode. This
behavior was only happening in special cases anyway - where the discard
of completions wasn't happening due to some other thing taking
precedence in `dismiss_menus_and_popups`.

Release Notes:

- N/A

---------

Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Mikayla <mikayla@zed.dev>
```

## Parents

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

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