pub fn preferred_alias_for(canonical: &str) -> Option<&'static str>Expand description
Reverse map of the alias table: for each canonical name, the
preferred user-facing alias (the longest one). Used by completion
to rewrite raw gen:commands output (which produces canonical
names like ex:describe-command) into the form a user actually
types (describe-command).
Picking the longest alias produces the most descriptive form
(write over w, nohlsearch over noh). Commands without
any alias map to themselves – the canonical IS the user-facing
form.