# agent: Add \`use_modifier_to_send\` setting \(\#34709\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e1d28ff957dbc16c39e4a8e061e79526f181849a

Requested commit: e1d28ff957dbc16c39e4a8e061e79526f181849a

Commit: e1d28ff957dbc16c39e4a8e061e79526f181849a

Tree: c4a105538297090153fa4a16a628651110acf707

Author: Danilo Leal

Committer: GitHub

## Message

```
agent: Add `use_modifier_to_send` setting (#34709)

When `use_modifier_to_send` is turned on, holding `cmd`/`ctrl` is
necessary to send a message in the agent panel. Text threads already use
`cmd-enter` by default to submit a message, and it was done this way to
have the usual text editing bindings not taken over when writing a
prompt, sort of stimulating more thoughtful writing. While `enter` to
send is still somewhat a huge pattern in chat-like LLM UIs, it still
makes sense to allow this for the new agent panel... hence the existence
of this setting now!

Release Notes:

- agent: Added the `use_modifier_to_send` setting, which makes holding a
modifier (`cmd`/`ctrl`), together with `enter`, required to send a new
message.
```

## Parents

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

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