Emacs package of the day: amx. https://github.com/DarwinAwardWinner/amx This makes your M-x better, by prioritising recently used commands, hiding irrelevant commands, and showing shortcuts! (Shown with the excellent counsel package here.)