3 ms·
I used to do the same (self document in an org file). With Emacs, though, I've found creating hydras[1] to be a better approach. It looks a lot more complicated
by BeetleB 2y ago
I used to do the same (self document in an org file). With Emacs, though, I've found creating hydras[1] to be a better approach. It looks a lot more complicated than it is. The first time I wrote hydras, it was hard. After that, it's been trivial.
Of course, magit like menus are mildly superior to hydras, but I don't know if they are as easy to generate.
[1] https://github.com/abo-abo/hydra https://github.com/abo-abo/hydra
- phforms 2y agoI am also a big fan of hydras, but I use them more for workflow things like window movement, editing org tables or quicker navigation in org headings/trees and it complements my keybinding system in `meow`[1] (similar to Evil or the Kakoune/Helix text editing scheme). [1]: https://github.com/meow-edit/meow https://github.com/meow-edit/meow
- BeetleB 2y agoThat's one use case, but you can use them to execute any elisp code. So when I encounter a new major mode I plan to use, while going through its docs I make hydras for keystrokes/commands I plan to use. This way I don't need to look up my notes, nor do I need to memorize keystrokes.