fixed hotkey to work in editors (should work on mac now)