[hydra] order heads alphabetically

This commit is contained in:
contrapunctus 2021-06-14 16:39:20 +05:30
parent 26cc83d2da
commit 9600a81e7e
1 changed files with 13 additions and 12 deletions

View File

@ -1223,11 +1223,11 @@ Add these common operations to the hydra -
#+BEGIN_SRC emacs-lisp
(defhydra contrapunctus-line-display-hydra (:color red)
"Line display"
("t" toggle-truncate-lines "truncate")
("k" visual-line-mode "visual-line")
("c" visual-fill-column-mode "visual-fill-column")
("a" adaptive-wrap-prefix-mode "adaptive-prefix-wrap")
("o" org-indent-mode "org-indent-mode"))
("c" visual-fill-column-mode "visual-fill-column")
("k" visual-line-mode "visual-line")
("o" org-indent-mode "org-indent-mode")
("t" toggle-truncate-lines "truncate"))
#+END_SRC
*** Window
#+BEGIN_SRC emacs-lisp
@ -1295,21 +1295,22 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol
("j" cp-jabber/body "Jabber")
("C" contrapunctus-mc-hydra/body "multiple cursors")
("d" dired-jump "dired-jump")
("D" (cp-insert-timestamp t) "date")
("E" toggle-debug-on-error "tdoe")
("h" helpful-at-point "Help")
("i" (find-file "~/.emacs.d/init.org") "open init")
("I" contrapunctus-info-hydra/body "Info")
("d" dired-jump "dired-jump")
("u" find-file "new")
("U" launch-file "launch-file")
("o" save-buffer "save")
("k" (kill-buffer (current-buffer)) "kill")
("N" contrapunctus-line-display-hydra/body "line display")
("w" contrapunctus-window-hydra/body "window")
("m" magit-status "magit")
("E" toggle-debug-on-error "tdoe")
("N" contrapunctus-line-display-hydra/body "line display")
("o" save-buffer "save")
("Q" toggle-debug-on-quit "tdoq")
("T" cp-insert-timestamp "timestamp")
("D" (cp-insert-timestamp t) "date"))
("u" find-file "new")
("U" launch-file "launch-file")
("v" find-alternate-file "revert")
("w" contrapunctus-window-hydra/body "window"))
#+END_SRC
*** org
#+BEGIN_SRC emacs-lisp