noctuid / evil-guide

Draft of a guide for using emacs with evil
GNU General Public License v3.0
1.26k stars 61 forks source link

Using hydra for leader key #8

Closed FelipeLema closed 6 years ago

FelipeLema commented 7 years ago

I think it's valuable to have this as

noctuid commented 6 years ago

I don't think that there's much benefit of using hydras for this purpose. While I love hydra, using a prefix keymap is already simple enough. Since there's not currently a great way to make keybindings in a hydra after defining it, and a workaround for repeating is required, I don't think it makes sense to recommend this over using prefix keymaps. Creating a hydra is not really any shorter than using define-prefix-command either. Hydra's hinting is nice but can be replicated with which-key. That all said, I'd be fine with you adding this to the wiki and linking to it in the readme.

FelipeLema commented 6 years ago

All right, will do and update this PR.

Thanks for taking the time to explain.

noctuid commented 6 years ago

Thanks; it's merged.