[FEATURE]
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
One of the most annoying issue is the user error to just press Enter for a new line instead of Ctrl-Enter, causing a half question to be submitted. I Asked Claude to fix this behaviour but it cannot be done after Claude searching for answers but it seems not be be possible.
Proposed Solution
I would like to assign Enter to: Chat:newline
and Ctrl-Enter to: Chat:submit
(That is used in keybindings.json)
Then I can write in a human way and submit the question with Ctrl-Enter.
When testing above in keybindings it did not affect any of the redesigned keys, I understand that Enter is not working. However Ctrl-Enter should work for submit, but just caused a new line. Hopefully this can be done.
Kind Regards,
Peter Jäderlund
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Interactive mode (TUI)
Use Case Example
Example part in keybindings.json:
"bindings": {
"enter": "chat:newline",
"ctrl+enter": "chat:submit"
}
Additional Context
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗