emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 3a77bf6 20/28: hydra-examples.el (hydra-apropos): Add.


From: Oleh Krehel
Subject: [elpa] master 3a77bf6 20/28: hydra-examples.el (hydra-apropos): Add.
Date: Sun, 22 Mar 2015 16:34:45 +0000

branch: master
commit 3a77bf66c06ded6e968d58d9dd204f67cc119f45
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]