So, unless you have every single keybinding as custom, there is currently no way to export keybindings from one to another. Unfortunately this was also confirmed by the same doc as linked above, which states:Įach keymap file contains only the differences relative to the parent keymap. Trying to set a manual keybind resulted in similar behavior to what I saw in Xcode: In my case (using AppCode), it was under ~/Library/Preferences/AppCode2019.2/jba_config/mac.keymaps/ To my surprise, it was also empty. Keymaps for Intellij are located under ~/Library/Preferences/IntelliJIdea2019.2/keymaps. Luckily, I didn't have to do much hunting for these key files, because Intellij already documented them. So, theoretically, if we just got the keybindings from Intellij, and formatted them to be like the Xcode ones, it should be no problem ![]() Opening the file again reveals that Xcode only stores the diff of keybindings: I was a little surprised to find it empty, but decided to try and manually trigger an update by setting a custom keybinding. Opening it up in TextEdit revealed it's a plist-formatted file: Xcode keeps its keymap files in Library ▸ Developer ▸ Xcode ▸ UserData ▸ KeyBindings and as a. I first tried to find where the two IDEs keep their keymap files on disk. I tested this using AppCode 2019.2 and Xcode 10. ![]() TL DR: This doesn't seem possible with the way both editors handle their keybindings.
0 Comments
Leave a Reply. |