Reputation: 22984
I've always been using the CTRL + Alt + M as the shortcuts in my Notepad++ to format the JSON strings, until now, when it is hijacked by a newly (forcefully) installed application (by my IT team, out of my control).
I.e., even when I have Notepad++ activated, pressing CTRL + Alt + M will no longer format the JSON strings any more, but pop up a weird dialog Windows (that I never seen before, would never use), which is really really annoying.
The closest hit I found for this problem is
How do I change the Windows 7 Keyboard Shortcuts
However, that one is for Windows key specifically, not for a none-default keys like this. Please help.
Upvotes: 1
Views: 6065
Reputation: 172
Windows allows you to assign shortcut keys to .lnk files. I assume that CTRL + Alt + M has been assigned to some program. To change this, right click the offending file and open the properties dialogue and change the shortcut key property from CTRL + Alt + M to whatever you like.
You can do this in Powershell if you prefer.
$shell = New-Object -ComObject WScript.shell
$shortcut = $shell.CreateShortcut("Path/to/offending/file.lnk")
$shortcut.hotkey = "" #remove shortcut keys
$shortcut.save()
Upvotes: 1