There was no file at that location but when I created one and entered the following:
\n[\n {\n \"key\": \"shift+enter\",\n \"command\": \"workbench.action.terminal.sendSequence\",\n \"args\": {\n \"text\": \"\\u001B\\u000A\"\n },\n \"when\": \"terminalFocus\"\n }\n]I was indeed able to enter multi-line claude code prompts by pressing SHIFT + ENTER
\nI would like to hence credit you with the answer to this question and thank you again for your very helpful input ❤️
","upvoteCount":0,"url":"https://github.com/coder/code-server/discussions/7469#discussioncomment-14390881"}}}-
Beta Was this translation helpful? Give feedback.
-
|
I searched a bit online and found anthropics/claude-code#2754 Adding this to my keybindings seems to work for me: |
Beta Was this translation helpful? Give feedback.
-
|
For macOS users: Ctrl+J is the actual newline character. Just remap Shift+Enter → Ctrl+J and you're done. |
Beta Was this translation helpful? Give feedback.
@code-asher I would like to thank you, once more, for your input. You were right! The issue is indeed solved by changing the keybindings file at the location you mentioned, which is:
There was no file at that location but when I created one and entered the following:
[ { "key": "shift+enter", "command": "workbench.action.terminal.sendSequence", "args": { "text": "\u001B\u000A" }, "when": "terminalFocus" } ]I was indeed able to enter multi-line claude code prompts by pressing SHIFT + ENTER
I would like to hence credit you with the answer to this question and thank you again for yo…