pub fn parse_shortcut(text: &str) -> Result<String, String>Expand description
Normalize a keyboard shortcut: modifiers cmd, ctrl, alt and
shift in that order, then one key: a printable character in lower
case or one of SHORTCUT_KEYS. Case and spaces around the parts do
not matter, so "Shift + Cmd + K" is "cmd+shift+k".