Powershell context menu shortcuts such as CTRL+M don’t work

keyboard shortcutspowershell

I often use the mark function in powershell. The context menu says that the short-cut is Ctrl+m.

Powershell Mark shortcut

However, pressing Ctrl+m doesn't seem to work. It just inputs ^M. The strange thing is that Ctrl+c does work and does not print anything.

In the context menu properties I've enabled ctrl key shortcuts.

cltr key shortcuts

I've also tried disabling it, to no avail. There does not seem to be much more I can do. How do I get the Ctrl+m shortcut to work in powershell? (The alternative is Alt+Space+e+m which does work but isn't really userfriendly)

Best Answer

A bit of a workaround - but it works for me:

At the Powershell prompt, type cmd, hit enter - this will launch command prompt - then ctrl+m works. When you are done you can type "exit" and it will return to powershell.

Related Question