Emacs-like command trees / multi-key hotkeys / user-defined sub-command menus

here’s a more active related thread Multi-key or chorded key hotkeys