reddit / emacs

Context Menu in Magit Status Buffers

divinedominion · 2022-03-09 07:16
divinedominion · 2022-03-09 07:17
The `context-menu` is a bit weird at first, IMHO, but once I understood the principles, it was quite easy to implement this! Link to Gist/code only: https://gist.github.com/DivineDominion/d39110eef36d739cbc811801639d1847 Discussion on GH: https://github.com/magit/magit/discussions/4624
wysteriary · 2022-03-09 16:12
Wow TIL about ``context-menu-mode``. I've been working on some personal tweaks to make mouse usage more appealing for the same reasons in your article, and this mode is a much farther along than what I had, not to mention built-in! EDIT: `context-menu-mode` was added only in Emacs 28.1, which hasn't had an official stable release yet AFAIK. Some of you will not have it.
divinedominion · 2022-03-09 17:42
I totally forgot that it's new in v28.x! Thanks for pointing that out. Also explains how I didn't hear of that mode either for so long :)