If hotkeys are on, then yes, that definition will do what you say. (If they are off they will get turned on.)