Parse string into key name with modifiers. It accepts things like:
C-H-1 -- emacs style (ctrl, and windows, and 1)
Ctrl+Win+1 -- windows style
Ctrl-Win-1 -- '-' is a valid delimiter too
Ctrl Win 1 -- and space
and even "Win + 1 + Ctrl".
See Implementation
Parse string into key name with modifiers. It accepts things like:
C-H-1 -- emacs style (ctrl, and windows, and 1)
Ctrl+Win+1 -- windows style
Ctrl-Win-1 -- '-' is a valid delimiter too
Ctrl Win 1 -- and space
and even "Win + 1 + Ctrl".