Shift+Enter not working in the latest version of Cursor IDE(Claude Code Extension)

FYI: Tested on VSCode 1.104.2 and does not happen in either the integrated terminal (bottom pane) nor if the terminal is in Editor area. So does seem to be a Cursor issue.
In Cursor, with “Developer: Toggle Keyboard Shortcuts Troubleshooting” enabled, I can see that
if the terminal is in the editor area or new window, a keybinding match is never met and instead get this line:

2025-09-26 08:56:16.639 [info] [Window] [KeybindingService]: + Ignoring single modifier shift due to it being pressed together with other keys.

BUT, when it does work (in the native terminal pane at the bottom), there is such line and I do get a keybinding match:

2025-09-26 08:57:57.707 [info] [Window] [KeybindingService]: \ From 18 keybinding entries, matched workbench.action.terminal.sendSequence, when: no when condition, source: user.

I also had the issue and it always worked on first but never on any subsequent terminal session.

I installed Karabiner Elements (free) and then defined this custom Complex Modification Rule which finally fixed it:

{
    "description": "Remap Shift+Enter to Option+Enter in Cursor for Claude Code",
    "manipulators": [
        {
            "conditions": [
                {
                    "bundle_identifiers": [
                        "^com\\.todesktop\\.230313mzl4w4u92$"
                    ],
                    "type": "frontmost_application_if"
                }
            ],
            "from": {
                "key_code": "return_or_enter",
                "modifiers": {
                    "mandatory": ["shift"],
                    "optional": ["any"]
                }
            },
            "to": [
                {
                    "key_code": "return_or_enter",
                    "modifiers": ["option"]
                }
            ],
            "type": "basic"
        }
    ]
}
2 Likes

Fixed in Cursor v 1.7.40
so glad to see!!

1 Like

Hi team, I think this is coming back, really painful tried all fixed but can’t work : /

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.