From 9600a81e7e83ec44c6d8a829325e198aee89b9bc Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Mon, 14 Jun 2021 16:39:20 +0530 Subject: [PATCH] [hydra] order heads alphabetically --- init.org | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/init.org b/init.org index 0fceea6..3775915 100644 --- a/init.org +++ b/init.org @@ -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