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

  1. Install Claude Code v2.1.3 or later on Windows
  2. Start a Claude Code session
  3. Press Alt+M to toggle between auto-accept and plan mode
  4. 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.

View original on GitHub ↗

21 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/17304
  2. https://github.com/anthropics/claude-code/issues/17489
  3. https://github.com/anthropics/claude-code/issues/17438

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

owen800q · 6 months ago

it is vibe coding issue, sorry about that

JoeBrar · 6 months ago

same issue, can't switch to plan mode using Alt + M , it worked earlier but is no longer working

patschn123 · 6 months ago

Same issue here.

Paul-Hilt · 6 months ago

Same

adelfino69 · 6 months ago

same here

udgttl12 · 6 months ago

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.

yidasanqian · 6 months ago

same

adelfino69 · 6 months ago

Shift + Tab. not working I'm in a VM on proxmox

minjoyeee · 6 months ago

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.

Ditronian · 6 months ago

Same, alt-m has stopped working with the last update it is extremely annoying.

tmaarcxs · 6 months ago

same here, stucked on 2.1.2 to prevent this issue

BorisMolch · 6 months ago

same

rodrigonormandia · 6 months ago

Same issue here

wynandw87 · 6 months ago

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.

lukaskucinski · 6 months ago

Same issue here, persists in v2.1.7

leon80148 · 6 months ago

the same problem since 2.1.3, so I go back to 2.1.2....

GTCrais · 6 months ago

Same issue, v2.1.7.

Here's everything I tried: https://github.com/anthropics/claude-code/issues/18323

GTCrais · 6 months ago

This now works for me in WezTerm in 2.1.9

claude[bot] contributor · 2 months ago

This is a duplicate of #17304, which was fixed as of version v2.1.9.

github-actions[bot] · 2 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.