Endless Parentheses

Concise ramblings on Emacs productivity.

Paradoxical Hydras

Quick update to say that I’m quite pleased with the Hydra package. Turns out it’s not just eye-candy on top of keymaps, it also offers convenient functionality that is rather dull to implement on plain keymaps.

If you use Paradox, next time you upgrade you’ll find that a sneaky hydra has made its way into it. It’s a very simple one under the f key, but it’s a nice improvement over the plain keymap.

Also, if you happen to follow the Emacs master branch, you’ll see that this new hydra is actually not that simple and includes some filtering options that the previous keymap didn’t even have. You have Kaushal Modi to thank for this.

If you’re the kind of person who hates mythical creatures, you can revert to the plain keymap with this snippet.

(eval-after-load 'paradox
  '(define-key paradox-menu-mode-map "f"
     #'paradox--filter-map))

Tags: keymap, hydra, paradox, emacs

Say thanks on Gratipay
comments powered by Disqus