如何在Windows上使用Mac OSX Keymap进行WebStorm或IntelliJ IDEA? [英] How to use Mac OSX Keymap on Windows for WebStorm or IntelliJ IDEA?
问题描述
我在Mac和Windows上使用WebStorm进行工作。
我想知道是否可以在Windows上使用MAC OSX键盘映射。
I use WebStorm on both my Mac and Windows for work purposes. I would like to know if it is possible to use the MAC OSX keymap on Windows.
在Windows上,如果加载MAC OSX键映射,映射似乎没有正确排列。例如,我看到正在使用的字符 Meta
,但Windows似乎没有正确映射该字符。
On windows if you load the MAC OSX keymap the mappings don't seem to line up correctly. For instance I see the character Meta
being used, however Windows doesn't seem to properly map that character.
我还想注意我在Windows PC上使用Mac键盘。
I also would like to note I am using a Mac keyboard on the Windows PC.
推荐答案
Cmd ( Meta )键盘映射到你的Windows键?
How does Cmd (Meta) key map to your Windows keys?
你可以得到完整的Mac keymap XML 文件,并用任何关键字替换 meta
在Windows上。某些键可能无效或者您可能会遇到冲突的映射。
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.
在Mac键盘图上使用 Alt , Ctrl , Meta 和 Shift 修饰符。这不能直接映射到Windows上的3个修改器( Alt , Ctrl , Shift )。您默认情况下不能使用 Win 作为修饰符 。
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.
此外,操作系统已经采用了很多与 Win 的组合(并且禁用这些默认映射的唯一方法是通过注册表修改)。
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).
欢迎您试试有一种解决方法使 Win 在IntelliJ IDEA中作为修饰符工作。
You are welcome to give it a try as there is a workaround to make Win work as a modifier in IntelliJ IDEA.
这篇关于如何在Windows上使用Mac OSX Keymap进行WebStorm或IntelliJ IDEA?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!