disable the formatting hotkey when formatting is not available