Oleh Krehel
69bb4a41c0
Fix `kbd' interpretting "<tab>" char-by-char
...
* hydra.el (hydra-create): Update.
Fixes #6 .
11 years ago
Oleh Krehel
e156bf2f53
Require cl at compile time
...
Should fix #5
11 years ago
Oleh Krehel
6966e14169
Fix the bugged `global-set-key' version
...
* hydra.el (hydra-create): Fix.
11 years ago
Oleh Krehel
998b533587
Make sure `windmove-wrap-around' is nil during tests
...
* hydra-examples.el (hydra-move-splitter-left): Update.
(hydra-move-splitter-right): Update.
(hydra-move-splitter-up): Update.
(hydra-move-splitter-down): Update.
11 years ago
Oleh Krehel
dbd77f056b
Don't unbind hydra's body, unless using global-set-key
...
* hydra.el (hydra-create): Update.
Fixes #3 .
11 years ago
Oleh Krehel
5318fc353a
Update `hydra-create' format
...
* hydra.el (hydra-create): Expects a lists of lists for HEADS, instead
of list of cons cells. The optional thrid element of each list is the
hint.
* hydra-examples.el: Update the examples.
* README.md: Update.
Re #2
11 years ago
Oleh Krehel
f55c1fff4d
Add `hydra-is-helpful' custom var
...
* hydra.el (hydra-is-helpful): New custom.
(hydra-create): Display a hint in the echo area when `hydra-is-helpful'
is t.
Re #2 .
11 years ago
Oleh Krehel
11323ece73
Allow to use minor-mode-maps and more
...
* hydra.el (hydra-create): Add a third optional argument. When it's not
supplied, the behavior should remain the same. Otherwise, it's a
lambda that's used instead of `global-set-key', with the same semantics.
* README.md: Update.
re #1
11 years ago
Oleh Krehel
916a1303c6
Depend on cl-lib v0.5 for `cl-mapcar'
11 years ago
Oleh Krehel
a179f3157c
Unbind hydra's body unconditionally to avoid error
...
* hydra.el (hydra-create): Since body will be established as a prefix,
it can't be bound anyway. Unbind it preemptively and unconditionally.
11 years ago
Oleh Krehel
2a367faac4
README.md: update doc
11 years ago
Oleh Krehel
abef4bfc86
Split away the examples
11 years ago
Oleh Krehel
9b866564f4
Initial import
11 years ago