Although not the canonical emacs
way of doing things, I quite like using discover-my-major
discover-my-major
for that purpose because it just feels more effective.
It is available on melpa
and is powered by the makey
library, which is responsible for those nice menus magit
is known for.
I'd suggest you check out the github
link for a screenshot demonstrating the functionality.
Install it (I'd suggest from melpa
using package.el
) and add
(require 'discover-my-major)
(global-set-key (kbd "C-h C-m") 'discover-my-major)
to your config.