Choosing keymap when using runIde

My plugin includes a specific keymap. It would be convenient for me if that keymap was selected as default when I test my plugin through the runIde task, i.e. when I run an instance of IntelliJ from my development environment. Is this possible?

You can modify/create settings files as described here Recipes | IntelliJ Platform Plugin SDK

e.g. for $APP_SETTINGS$/options/mac/keymap.xml in your sandbox:

<application>
  <component name="KeymapManager">
    <active_keymap name="IntelliJ IDEA Classic copy" />
  </component>
</application>