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

17 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!

2 Likes

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.

2 Likes

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.

1 Like

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

1 Like

Yes, please add this feature! I accidentally hit return all too often and then ChatGPT spirals into trying to figure out wtf I’m writing about because the thought isn’t complete or the file isn’t uploaded, etc. Please change this!!!

I’ve written a Google Chrome extension which remaps the enter key functions:

Enter Key: Creates a new line
Ctrl+Enter: Sens the message.

I’m new to the forums so don’t think I can share links yet. But, you can find me on Github:
…/glyndavidson/chatgpt-enter-key-remap

Or, search the chrome webstore for “ChatGPT Enter Key Remap”