Feature Request: Customizable Enter and Shift-Enter Key Behavior in ChatGPT

Hello,

I would like to suggest a feature for ChatGPT. It would be very useful to have the ability to customize the behavior of the Enter and Shift-Enter keys. Specifically, I would like Enter to send the message and Shift-Enter to move the cursor to a new line. This would enhance the user experience by allowing easier formatting of messages. I’m using it in different browsers on a Windows machine.

Thank you for considering this feature request.

Best regards,
Jim

13 Likes

I was just going to request this same feature.
Many other applications use shift-enter differently than chatgpt (Jupyter notebooks for example). Having the ability to customize key-bindings would be amazing.

In fact, I would absolutely love vim-mode!

1 Like

I often have to write multi-line messages with code, and I’d like to add new line with Enter as I’m used to do. And then send the message with another combination like Shift + Enter or Cmd + Enter.
Please make this customizable.

1 Like

The prompt box is similar to text area, therefore for better user experience Enter and Shift+Enter have settings for which one considered as posting the prompt and which one for newline.

Even ChatGPT key binding is different for each environment.

Mobile (Android) - Enter key for newline.
Web Application - Enter key for posting the prompt.


Out of topic but sharing here for better understanding of user experience.

This editor enters newline when keydown Enter or Shift+Enter but post this post when keydown Ctrl+Enter.

Another reason to implement this is the discrepancy between creating a new message and editing a sent message:

New message:
Enter = Send
Shift + Enter = New line

Editing a message:
Enter = New line
Shift + Enter = New line

I would like the ability to personalise this behaviour and have both act as follows:
Enter = New line
Shift + Enter = Send