claude-code
claude-code copied to clipboard
Enter in Insert in Vim Mode should insert newline
I'd expect when vim mode is enabled:
- When in insert mode
- pressing
<enter>will insert a new line - pressing
<ctrl/opt-enter>will submit
- pressing
- When in normal mode
- pressing
<enter>will submit
- pressing
This is similar to how other vim specific ai chats work (e.g. Avante in neovim)
Currently <enter> will always submit the chat, whether in insert mode or not
+1 for this. Also, I suggest using vim commands like ZZ for submitting messages.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.