I want to bind some of IntelliJ IDEA shortcut keys, but at the same time keep the default bindings in place in case anyone wants to use my IDE (e.g. pair programming).
Is there a way to assign multiple shortcuts to one action in IntelliJ IDEA? Or is there a plugin that does this?
It's supported out of the box, just add new keyboard shortcuts to the action, old shortcuts will be kept. Note that you can't add a shortcut that conflicts with some other action.
In Settings -> Keymap, there isn't anything preventing multiple shortcuts from being assigned to the same action. Select "Add Keyboard Shortcut" and assign your shortcut. After it is saved, select "Add Keyboard Shortcut" again with your next shortcut. Both should now work.
This was testing with Intellij IDEA 9.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With