Submit prompt with control+enter in composer

I know we’re all eager to see the feature (including me) - frustration is totally understandable! Let’s nonetheless take a moment to recognize how hard the Cursor team (and all contributors) work to keep improving this tool. Personally, a bit of appreciation goes a long way in keeping our feedback constructive and the community positive. :blush:

shift+enter to send cmd to LLM model provider, as a toggle would be fine.

I hope i’m not missing a feature already there, but can we please have a shift+enter to send send command please. I figured that i would get used to it, but after 6 months and still getting it wrong, I have to say this is bad design.

hm. now that I think about it, maybe there is a way we can custom bind via vs code shift+enter → enter, and enter → shift+enter.

Has anyone figured out how to inject the binding mapping (shift+enter → enter) via vs code hotkey editor?

Hi @toanxtoan ! You can force a message to be sent using ⌘ + Enter on macOS or Ctrl + Enter on Windows. Hope that helps :slightly_smiling_face:

@austinp enter sends the message. I’m looking to have enter insert new line like most other programs and editors.

Hey, you can move to a new line using Shift + Enter.

Hello, just like in many Ai Studio interfaces, typing multiple lines of text is sometimes often needed. And now, the behavior of pressing Enter in the chat plane is to send a message, and there is no option to change this behavior (including vsc keyboard setting, at least I didn’t find it, please let me know if it exists, thanks).
So when you want to get a new line, you have to stop the request and continue typing once you forget shift, which is annoying.
I think even if the designer insists that it is natural for enter to send messages, it is okay to add a switch to control whether enter or ctrl+enter to send messages?
If certain shortcut keys in ctrl+enter and chat plane conflict, they can also be completely limited to “when the focus is in the input box”

Why not add the config option?
Even not a clear response, so disapointed. :upside_down_face:

Hey everyone, thanks for your interest in seeing this in Cursor. The team is considering it.

Thank you so much.

I find it very frustrating as everyone else in here, that, when I need to add a break line I have to be extra-careful or to remember that Cursor’s chat needs a special combination of keys to accomplish it.

At least, this should be configurable. Kind regards.

Any updates?

Any updates?

I find this a usability issue. Enter should add just a newline. Use another control key to submit the prompt, or hit the submit button.

Best done with a new chat setting for enter key behavior: submit chat, or add newline.

Cursor team: Are you listening?

Can’t wait!
Looking forward to it!

“This is an extremely critical feature. Do you have any progress to report yet?”

Yeah! and it does my head in when I hit ctrl-enter in the editor, and random things I didn’t want suddenly happen (runs python, or shows my markdown as a preview, etc)…

Backlash against “ctrl-enter” when plain “enter” makes more sense is gaining ground - there’s a few AI chat sites that do this now already.

PING! Cursor team, are you listening? Please make this a configure option. IMHO default should be: Enter to add a new line, Ctrl-Enter or submit button to submit.

I find it interesting how they appear to have trouble seeing this from developers point of view. The flow of entering a prompt and any related cognitive friction is literally the foundation of using an IDE like cursor

Waiting for this feature as well. Any updates?!

C’mon guys! This doesn’t seem like a hard feature to add to options. Bury it in the settings, leave it as Enter by default.