For starters, just add the following into the plugin.xml
<!-- this one says that what I declare is active by default -->
name="Do My Bidding Accelerator Keys"
name="Do My Bidding"
<!-- a unique id, to be used only much later -->
<!-- this is the scope where ur binding is active, lets try any global -->
Notice that we've declared this binding to be default, to be called "Do My Bidding", to be bound to keys "Ctrl+1". But when I really do a Ctrl+1, what is executed?
An Action happens. How to create an action? That's for another article (you should try the Hello World example from Eclipse itself) but right now, lets assume you have an Action that shows up a message box that says "Do My Bidding"... just add a definitionId to the <action />
<actionSet ... />
<action definitionId="myklass.activeKey.MyCommand" ... />
<!-- match definitionId with the id you gave to command earlier -->
See here for more details.