Make Enter insert newline in chat, Cmd+Enter to submit

Feature request for product/service

Chat

Describe the request

In the Cursor agent/chat window, pressing Enter immediately submits the message. This makes it difficult to write multi-line prompts or format messages with line breaks.

Requested Behavior:
I’d like the ability to configure the chat window so that:

  • Enter inserts a newline (allows multi-line input)
  • Cmd+Enter (Mac) or Ctrl+Enter (Windows/Linux) submits the message

Why This Would Be Helpful:

  1. Most modern chat applications (Slack, Discord, GitHub, etc.) use Cmd/Ctrl+Enter to submit, making this pattern familiar
  2. Complex prompts often require multiple lines for clarity
  3. It’s easy to accidentally submit an incomplete message when trying to format text
  4. Writing code blocks or structured prompts in chat becomes much easier with multi-line support

Ideal Implementation:
Either a setting toggle in Preferences (e.g., “Chat: Submit on Enter”) or the ability to customize these keybindings through the standard Cursor keyboard shortcuts interface.

I attempted to modify this through the keyboard shortcuts settings but it appears chat-specific keybindings may not be fully customizable in the current version.

Thank you for considering this feature!

5 Likes

This is now available on nightly and will be in the next stable release!

1 Like