[hydra] add new Org block types

This commit is contained in:
contrapunctus 2021-06-13 17:24:37 +05:30
parent f83ba1891e
commit e1ff63a8ef
1 changed files with 4 additions and 2 deletions

View File

@ -1339,9 +1339,11 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol
(defhydra cp-org-block (:color blue)
"Org source block"
("e" (cp-org-insert-block "SRC" "emacs-lisp") "Emacs Lisp")
("t" (cp-org-insert-block "SRC" "emacs-lisp :load test") "Emacs Lisp test")
("t" (cp-org-insert-block "SRC" "emacs-lisp :tangle test :load test") "Emacs Lisp test")
("E" (cp-org-insert-block "SRC" "emacs-lisp :tangle no :load no") "Emacs Lisp example")
("o" (cp-org-insert-block "QUOTE") "quote"))
("s" (cp-org-insert-block "SRC" "shell :tangle no") "Shell")
("o" (cp-org-insert-block "QUOTE") "quote")
("v" (cp-org-insert-block "VERSE") "verse"))
#+END_SRC
**** org navigation
#+BEGIN_SRC emacs-lisp