How to use Mac OSX Keymap on Windows for WebStorm or IntelliJ IDEA?

How does Cmd (Meta) key map to your Windows keys?

You can get the full Mac keymap XML file and replace meta with whatever key it is on Windows. Some keys may not work or you may get conflicting mappings.

There is no easy and straightforward way that will work out of the box.

On Mac keymap is using Alt, Ctrl, Meta and Shift modifiers. This cannot be directly mapped to only 3 modifiers you have on Windows (Alt, Ctrl, Shift). You can't use Win as the modifier by default.

Also, a lot of the combinations with Win would be already taken by the OS (and the only way to disable these default mappings is via registry modification).

You are welcome to give it a try as there is a workaround to make Win work as a modifier in IntelliJ IDEA.


On Windows go to file > settings > keymap and in the keymaps dropdown select default and the meta (aka cmd) key will be replaced by ctrl.