forked from bcarrell/evil-lispy
-
Notifications
You must be signed in to change notification settings - Fork 5
/
evil-lispy-help.el
81 lines (66 loc) · 1.75 KB
/
evil-lispy-help.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
(require 'lispy)
(require 'hydra)
(defhydra evil-lispy/hydra-navigation ()
"
Navigation cheat sheet
----------------------
Starting from _|_, navigate to:
_h_: backward & up |
_j_: next | _h_(->
_k_: previous | _k_(+ 2 3)
_l_: forward & up | _|_(+ _i_(+ 2 1))_o_
_o_: other side | _j_(* 8))_l_
_i_: inside |
Miscellaneous
-------------
_q_: jump to ()
_-_: go to subword
"
("h" special-lispy-left)
("j" special-lispy-down)
("k" special-lispy-up)
("l" special-lispy-right)
("o" special-lispy-different)
("|" identity :color teal)
("i" special-lispy-flow)
("q" special-lispy-ace-paren)
("-" special-lispy-ace-subword))
(defhydra evil-lispy/hydra ()
"
evil-lispy cheat sheet
----------------------
_N_ Navigation cheat sheet
^Refactor^ ^Evaluate^
----------------------------------------------------
_t_ teleport _e_ eval
_d_ drag _E_ eval and insert
_c_ clone
_w_ move up
_s_ move down
_r_ raise
_O_ to oneliner
_M_ to multiline
"
("N" evil-lispy/hydra-navigation/body :color teal)
("h" special-lispy-left)
("j" special-lispy-down)
("k" special-lispy-up)
("l" special-lispy-right)
("o" special-lispy-different)
("i" special-lispy-flow)
("q" special-lispy-ace-paren)
("-" special-lispy-ace-subword)
("c" special-lispy-clone)
("t" special-lispy-teleport)
("d" special-lispy-other-mode)
("w" special-lispy-move-up)
("s" special-lispy-move-down)
("r" special-lispy-raise)
("O" special-lispy-oneline)
("M" lispy-multiline)
("e" special-lispy-eval)
("E" special-lispy-eval-and-insert))
(defun evil-lispy-show-help ()
(interactive)
(evil-lispy/hydra/body))
(provide 'evil-lispy-help)