resolve issue #45. Let global key mapping registry in plugin registry_hotkey function.