[BUG] When using `enter: chat:newline` in keybindings.json there are no other methods available to submit text messages

Resolved 💬 5 comments Opened May 8, 2026 by Baanrow Closed May 12, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

What's Wrong?

Adding enter: chat:newline to keybindings breaks all other chat:submit bindings for text messages.

What Should Happen?

What Should Happen?

meta+enter and cmd+enter should still submit text messages regardless of whether enter: chat:newline is present.

Environment

  • macOS (Tahoe 26.4.1)
  • Terminal: Warp v0.2026.04.29.08.57.stable_01
  • Shell: zsh
  • Claude Code: latest 2.1.133

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce

Step 1 — Add these bindings and test:

{
  "context": "Chat",
  "bindings": {
    "ctrl+enter": "chat:submit",
    "meta+enter": "chat:submit",
    "cmd+enter": "chat:submit"
  }
}

Result: meta+enter and cmd+enter submit text correctly. ctrl+enter does not work.

Step 2 — Add enter: chat:newline and test again:

{
  "context": "Chat",
  "bindings": {
    "enter": "chat:newline",
    "ctrl+enter": "chat:submit",
    "meta+enter": "chat:submit",
    "cmd+enter": "chat:submit"
  }
}

Result: ctrl+enter does nothing. meta+enter and cmd+enter now insert a newline instead of submitting. No binding submits a text message.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.13

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗