# Rework context insertion UX \(\#12360\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7e3ab9acc93d29c12aee4ab381dd723ca303caf4

Requested commit: 7e3ab9acc93d29c12aee4ab381dd723ca303caf4

Commit: 7e3ab9acc93d29c12aee4ab381dd723ca303caf4

Tree: dd53fae8919cf437136a04b66efab5c96d998c4c

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Rework context insertion UX (#12360)

- Confirming a completion now runs the command immediately
- Hitting `enter` on a line with a command now runs it
- The output of commands gets folded away and replaced with a custom
placeholder
- Eliminated ambient context

<img width="1588" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/b1927a45-52d6-4634-acc9-2ee539c1d89a">

Release Notes:

- N/A

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
```

## Parents

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

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