Claude : Binding Shift-Enter, Ctrl-Enter and Alt-Enter to embed a newline rather than submit.

sgmoore
edited November 14 in General

I use the Claude-Code extension in Visual Studio Code and with it, if I press Shift-Enter when entering a line, it moves to the new line rather than sending the half-completed text to Claude. I keep using the same keystroke in Linqpad rather than pressing Ctrl-J.

I tried setting the /keystrokes using

{
  "bindings": [
    {
      "context": "Chat",
      "bindings": {
        "shift+enter": "chat:newline",
        "ctrl+enter": "chat:newline",
        "alt+enter": "chat:newline"
      }
    }
  ]
}

but none of them are picked up.

Is it possible to get any of these working?