Problem Statement
I'd love to see an option to switch the default behavior of Enter to insert a newline, over the default behavior of submitting the message.
Proposed Solution
Change Keybindings to behave like:
- Enter → Insert a new line (instead of submitting)
- Shift+Enter / Ctrl+Enter / Alt+Enter → Submit message
Alternative Solutions
I tried to dirty patch Claude Code using https://github.com/appositeit/claude-code-better-enter. But on the on hand that failed, on the other hand is it a very dirty solution.
Use Case
My ingrained habit of pressing 'Enter' for a new line causes me to accidentally send messages. This becomes a point of friction when I'm trying to write code, create lists, or compose prompts that span multiple paragraphs.
Problem Statement
I'd love to see an option to switch the default behavior of Enter to insert a newline, over the default behavior of submitting the message.
Proposed Solution
Change Keybindings to behave like:
Alternative Solutions
I tried to dirty patch Claude Code using https://github.com/appositeit/claude-code-better-enter. But on the on hand that failed, on the other hand is it a very dirty solution.
Use Case
My ingrained habit of pressing 'Enter' for a new line causes me to accidentally send messages. This becomes a point of friction when I'm trying to write code, create lists, or compose prompts that span multiple paragraphs.