I want to be able to use the standard Eclipse Mac keymap, i.e. Refactor/Rename is cmd + alt + R
Having done a bit of searching, I found the Keymap option in Preferences, however the “Eclipse” key map option is actually the Windows keymap. For example, Refactor/Rename is Alt + Shift + R.
I know I can manually change all the shortcuts I need, but is there any sort of tool/method which will change all the keymaps to Eclipse Mac style for me?
Thanks!
1 – Grab this xml file (Eclipse on Mac):
https://github.com/thatha/IntelliJ-IDEA-Eclipse-on-Mac-Keymap/blob/master/Eclipse%20on%20Mac.xml
2 – Save the file to this directory:
~/Library/Preferences/IntelliJIdea11/keymaps/
note – this directory may vary depending on your system/version of IntelliJ. According to this link:
http://www.jetbrains.com/idea/webhelp/configuring-keyboard-shortcuts.html
It should be of the form: ~/Library/Preferences/.IntelliJ IDEA/keymaps/
Dig around and you will find it!
3 – Open IntelliJ, navigate to Preferences ( cmd + , ). Under IDE Settings > Keymap, select “Eclipse on Mac” from the Keymaps drop down list.