I'm making keyboard shortcuts for certain actions in my plugin, however, it doesn't turn out the way I want.
<!-- Add your actions here -->
<group id="TextFormatting" compact="true" description="hello" popup="true" text="AsciiDoc">
<action id="asciidoc.maketitle" class="org.asciidoc.intellij.actions.asciidoc.MakeTitle"
text="Title" description="Make title" >
<keyboard-shortcut keymap="$default" first-keystroke="ctrl t"/>
<keyboard-shortcut keymap="Mac OS X" first-keystroke="ctrl t"/>
<keyboard-shortcut keymap="Mac OS X 10.5+" first-keystroke="ctrl t"/>
.... more actions
First: am I doing this the right way? I used the above from an example I found somewhere, but explicitly mentioning all the keystrokes for all the keymaps sounds a bit verbose. I tried removing the Mac ones, but after that, the keyboard shutcut didn't work anymore.
Secondly, while the keystroke works nicely, IntelliJ itself shows a different shortcut (see attachment): what it does, is that it shows cmd as the modifier key instead of ctrl. How's that possible?
Screen Shot 2014-12-14 at 00.50.47.png