disable certain shortcuts in text edit mode