pub fn key_command(key: Key, shift: bool) -> Option<Command>Expand description
Map a key equivalent (pressed with Ctrl/Cmd) to its command, read off the
MENU tree so the two can’t disagree: a lowercase letter is the plain
chord, an uppercase one the chord with Shift. Y is a Redo alias.