[Bug] Shift+Enter Line Break Not Working in Cursor IDE on Mac

Status Closed — not planned
Maintainer reply None cached
Activity 15 comments · opened Sep 16, 2025 · closed Jan 10, 2026

Bug Description
I am using mac and ide is Cursor. I hade fininsh /teriminal-setup cmd, and shift + enter still failed to change line.

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.115
  • Feedback ID: 370f7ec3-d177-4690-ba55-fd52d187fffd

Errors

[]

View original on GitHub ↗

15 Comments

github-actions[bot] · 11 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/193
  2. https://github.com/anthropics/claude-code/issues/2451
  3. https://github.com/anthropics/claude-code/issues/1718

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

sk0x0y · 11 months ago

same me since after last release
and does not work command key

iagdotme · 11 months ago

I've just encountered this today after Cursor updated to a newer version. I don't know whether this is a Cursor problem or a Claude Code problem.
I've tried multiple things including renaming the Cursor directory in Application support in my Mac. Nothing works.

tylerthomas-kora · 11 months ago

Latest from Cursor has broken the "Claude Code" extension - basically shift+enter and other shortcuts no longer work...I am just using Claude Code in a terminal outside of Cursor as a workaround.

SeungjunWe · 11 months ago

I am currently using Cursor IDE, and only in the Claude Code extension, Shift + Enter does not work.

As in the solution by toy-crane in the link below:
https://github.com/anthropics/claude-code/issues/1718#issuecomment-3290591731

When I set the text to "\^[\n", Shift + Enter works fine on my Mac.

ocolluphid · 11 months ago

im using CC via cursor extension also but on ubuntu-24 (raised a similar issue a few days ago)

JakubMindNexus · 11 months ago

Also happened for me since the last update. Frustrating.

MikeyZhang75 · 11 months ago
I am currently using Cursor IDE, and only in the Claude Code extension, Shift + Enter does not work. As in the solution by toy-crane in the link below: #1718 (comment) When I set the text to "\^[\n", Shift + Enter works fine on my Mac.

It’s still not working on my end. In Cursor, both Shift + Enter and ⌘ + Delete fail, even though they work fine in VS Code.

It’s ironic — they’re breaking core features even under AI PR reviews, and it seems like there’s no A/B or grey-testing before updates.

Foprta · 11 months ago

I found a temporal solution is to not open claude using the extension's button, but to just open it in terminal via "claude" command and then move the tab to right pane. IDE is still connected and all hotkeys are working

maddada · 11 months ago

Same issue here.

Someone mentioned that option + enter still works even better than shift + enter because it doesn't add the \ character.

So I went ahead and created the following rebind in karabiner elements to work around the issue and it's been working great:

                    {
                        "description": "Map Right Shift + Enter to Right Option + Enter in Cursor",
                        "manipulators": [
                            {
                                "conditions": [
                                    {
                                        "bundle_identifiers": ["^com\\.todesktop\\..*$"],
                                        "type": "frontmost_application_if"
                                    }
                                ],
                                "from": {
                                    "key_code": "return_or_enter",
                                    "modifiers": { "mandatory": ["right_shift"] }
                                },
                                "to": [
                                    {
                                        "key_code": "return_or_enter",
                                        "modifiers": ["right_option"]
                                    }
                                ],
                                "type": "basic"
                            }
                        ]
                    },

I also went to Cursor hotkeys and removed all hotkeys that are bound to option + shift by default.

You can do something similar with AHK on windows too.

Hope someone finds it useful.

danielraffel · 11 months ago

Running Claude in Cursor’s terminal with Shift + Return works inconsistently but it mostly doesn’t work. I’ve been using Option instead, but I miss the Shift+Return behavior. I already checked ~/Library/Application Support/Cursor/User/settings.json and ~/Library/Application Support/Cursor/User/keybindings.json and didn’t notice anything unusual there.

github-actions[bot] · 8 months ago

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.

maddada · 8 months ago

Bump. But fyi to everyone here the issue is from Cursor not from Claude Code because if you use VS Code you won't have this issue.

github-actions[bot] · 7 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.