hbIDE provides an interface similar to xMate to define keyboard shortcuts where each shortcut may be a big piece of code comprising Harbour functions and hbIDE's public methods API.
Following image may well describe its various components.
Page url: http://hbide.vouch.info/?keyboard_mappings.htm