So, I spent 3 hours slowly hacking on my first mode, to be dubbed 'git-
rebase-mode'. I got to the point where I was happy changing pick or p
to squash or what-have-you, and moved on to the keybindings.  (Most of
my time was spent figuring out how to hook into the buffer created.)

I couldn't sort out restricting the keys a user could use and thought
"Ah! Magit does it! I'll see how it works".  3 minutes later, I was
looking at the source of rebase-model.el.  I don't know how I never
saw it, and it does not appear to be in the docs.

And of course, it way more polished than anything I can hope for soon,
so I gladly add (require 'rebase-mode) to my init.el.

This message is more to be there for others' searches.

Thanks for the hidden gem.

-- Andrew

Reply via email to