branch: master commit 3a77bf66c06ded6e968d58d9dd204f67cc119f45 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
hydra-examples.el (hydra-apropos): Add. --- hydra-examples.el | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hydra-examples.el b/hydra-examples.el index db38983..271756b 100644 --- a/hydra-examples.el +++ b/hydra-examples.el @@ -234,6 +234,23 @@ Number of marked items: %(length (dired-get-marked-files)) ;; (length (dired-get-marked-files))) ;; ;; You can use `format'-style width specs, e.g. % 10(length nil). +;;** Example 10: apropos family +(defhydra hydra-apropos (:color blue + :hint nil) + " +_a_propos _c_ommand +_d_ocumentation _l_ibrary +_v_ariable _u_ser-option +^ ^ valu_e_" + ("a" apropos) + ("d" apropos-documentation) + ("v" apropos-variable) + ("c" apropos-command) + ("l" apropos-library) + ("u" apropos-user-option) + ("e" apropos-value)) +;; Recommended binding: +;; (global-set-key (kbd "C-c h") 'hydra-apropos/body) ;;* Windmove helpers (require 'windmove)