# Allow an initial prompt to be associated with inline assist \(\#14816\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4c7f1032a4e2eddbd2d5895b7efa2630f7f84b37

Requested commit: 4c7f1032a4e2eddbd2d5895b7efa2630f7f84b37

Commit: 4c7f1032a4e2eddbd2d5895b7efa2630f7f84b37

Tree: bc726c787045b6b9d7c0c6811a947da0193a00c0

Author: Antonio Scandurra

Committer: GitHub

## Message

````
Allow an initial prompt to be associated with inline assist (#14816)

Release Notes:

- Added the ability to create custom inline assist bindings that
pre-fill a prompt from your keymap, e.g.:
    ```json
    [
        {
            "context": "Editor && mode == full",
            "bindings": {
                "ctrl-shift-enter": [
                    "assistant::InlineAssist",
                    { "prompt": "Build a snake game" }
                ]
            }
        }
    ]
    ```

---------

Co-authored-by: Nathan <nathan@zed.dev>
````

## Parents

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

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