Skip to content
\n

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]
\n

I was indeed able to enter multi-line claude code prompts by pressing SHIFT + ENTER

\n

I 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"}}}
Discussion options

You must be logged in to vote

@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:

~/.local/share/code-server/User/keybindings.json

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…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@diraneyya
Comment options

@code-asher
Comment options

@diraneyya
Comment options

Answer selected by diraneyya
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants