Skip to content

Commit

Permalink
hydra-examples.el (hydra-apropos): Add.
Browse files Browse the repository at this point in the history
  • Loading branch information
abo-abo committed Mar 15, 2015
1 parent 543e97b commit 3a77bf6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions hydra-examples.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3a77bf6

Please sign in to comment.