export complete os/x keymap in xml to programmatically modify, then import
I just posted this on stackoverflow at https://stackoverflow.com/questions/45312494/pycharm-export-complete-key-map-file-as-xml
|
I would like to programmatically create a keymap for pycharm. I have an ergonomic keyboard for which the function keys are very awkward to hit. I'd like to map everything with a function key to something with a prefix, so for example, (I'm on mac os/x)
will go to
That is I'll use Alt+J as the gateway into my remaps for function keys. I can do this on an action by action basis, and I've found a xml file at
but it seems to only have my new keymappings. It would be great if I could export an xml file with all the keymappings, and then create my alternative mapping from it. Anyone know how to get a hold of such a complete xml file of the standard keymap? |
Please sign in to leave a comment.
Please, see: https://github.com/JetBrains/intellij-community/tree/282253b8ee888b51c0e8f63f44d9d4ecae9c19d2/platform/platform-resources/src/keymaps.
Hi Anna,
Do you have one for pycharm as opposed to intellij? I started to look at that but it is missing, for instance, Alt + F12 to bring up a terminal window.
Pycharm is IDE based on IntelliJ platform so it's a relevant link.
> I started to look at that but it is missing, for instance, Alt + F12 to bring up a terminal window.
From $default.xml:
<action id="ActivateTerminalToolWindow">
<keyboard-shortcut first-keystroke="alt F12"/>
</action>
That's an old thread, but I have faced the same question and come up with the simple plugin, it just exports entire keymap to IntelliJ XML format: https://plugins.jetbrains.com/plugin/18927-keymap-xml-exporter
Hope it helps someone