Alt+M keyboard shortcut to toggle auto-accept mode not working on Windows (since v2.1.3)
Resolved 💬 21 comments Opened Jan 12, 2026 by wynandw87 Closed Apr 18, 2026
💡 Likely answer: A maintainer (claude[bot], contributor)
responded on this thread — see the highlighted reply below.
Description
The Alt+M keyboard shortcut to switch between auto edits and plan mode does not work on Windows machines since version 2.1.3.
Steps to Reproduce
- Install Claude Code v2.1.3 or later on Windows
- Start a Claude Code session
- Press
Alt+Mto toggle between auto-accept and plan mode - Nothing happens - the mode does not switch
Expected Behavior
Pressing Alt+M should toggle between auto-accept mode and plan mode, as documented in the keyboard shortcuts.
Actual Behavior
The keyboard shortcut is not recognized and the mode remains unchanged.
Environment
- Claude Code version: 2.1.3+
- OS: Windows
- Terminal: Windows Terminal
Additional Context
This shortcut worked correctly in versions prior to 2.1.3.
21 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
it is vibe coding issue, sorry about that
same issue, can't switch to plan mode using Alt + M , it worked earlier but is no longer working
Same issue here.
Same
same here
same here
So I downgraded to 2.0.76 and am using it now.
However, other users, even on Windows, found that the shortcut key was Shift + Tab.
It works fine.
same
Shift + Tab. not working I'm in a VM on proxmox
A few days ago, it seemed like mode switching was working, but I'm facing the same issue now. It doesn't work in PyCharm either, and PowerShell isn't working either.
Same, alt-m has stopped working with the last update it is extremely annoying.
same here, stucked on 2.1.2 to prevent this issue
same
Same issue here
Hi everyone! I have a temporary workaround that will allow you to work on v2.1.2 until this issue has been fixed for Windows users. The problem is that Claude Code updates automatically to the latest version immediately when you open it - therefore, you need to uninstall Claude Code and install the last working version specifically:
First, uninstall claude code via the CLI:
npm uninstall -g @anthropic-ai/claude-code
Then, install v2.1.2 specifically with this command:
npm install -g @anthropic-ai/claude-code@2.1.2
Check the version to ensure it installed v2.1.2:
claude --version
DON'T OPEN CLAUDE CODE YET! You have to set the environment variable to block it from updating (you'll have to do this each time you open the terminal BEFORE you open claude code):
$env:DISABLE_AUTOUPDATER = "1"
Open claude code:
claude
Check the version after you exit claude to ensure you're still on v2.1.2:
claude --version
These steps are for Windows users affected by this issue - but if you'd like to roll back to v2.1.2 for any other reason, these steps will work on Mac and Linux as well.
Same issue here, persists in v2.1.7
the same problem since 2.1.3, so I go back to 2.1.2....
Same issue, v2.1.7.
Here's everything I tried: https://github.com/anthropics/claude-code/issues/18323
This now works for me in WezTerm in 2.1.9
This is a duplicate of #17304, which was fixed as of version v2.1.9.
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.