forked from abo-abo/lispy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlispy-hydra.el
55 lines (48 loc) · 1.41 KB
/
lispy-hydra.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
;; -*- lexical-binding: t; -*-
(require 'hydra)
(require 'lispy)
(defhydra hydra-lispy-x (:exit t
:hint nil
:columns 3)
"x"
;; ("a" nil)
("b" lispy-bind-variable "bind variable")
("c" lispy-to-cond "to cond")
("C" lispy-cleanup "cleanup")
("d" lispy-to-defun "to defun")
("D" lispy-extract-defun "extract defun")
("e" lispy-edebug "edebug")
("f" lispy-flatten "flatten")
("F" lispy-let-flatten "let-flatten")
;; ("g" nil)
("h" lispy-describe "describe")
("i" lispy-to-ifs "to ifs")
("k" lispy-extract-block "extract block")
("l" lispy-to-lambda "to lambda")
("m" lispy-cursor-ace "multi cursor")
;; ("o" nil)
;; ("q" nil)
("r" lispy-eval-and-replace "eval and replace")
("s" save-buffer)
("t" lispy-view-test "view test")
("v" lispy-eval-expression "eval")
("w" lispy-show-top-level "where")
;; ("x" nil)
;; ("y" nil)
;; ("z" nil)
("B" lispy-store-region-and-buffer "store list bounds")
("R" lispy-reverse "reverse")
("T" lispy-ert "ert")
(">" lispy-toggle-thread-last "toggle last-threaded form")
("" lispy-x-more-verbosity :exit nil)
("?" lispy-x-more-verbosity "help" :exit nil))
;;;###autoload
(autoload #'hydra-lispy-x/body "lispy-hydra")
(defhydra lh-knight ()
"knight"
("j" lispy-knight-down)
("k" lispy-knight-up)
("z" nil))
;;;###autoload
(autoload #'lh-knight/body "lispy-hydra")
(provide 'lispy-hydra)