[hydra/org] add folding commands

This commit is contained in:
contrapunctus 2021-06-17 16:55:25 +05:30
parent bef33c417a
commit 30f5ea3952
1 changed files with 5 additions and 1 deletions

View File

@ -1354,13 +1354,17 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol
#+BEGIN_SRC emacs-lisp
(defhydra cp-org-nav (:color red)
"Navigation"
;; movement
("c" org-previous-visible-heading "previous heading")
("r" org-next-visible-heading "next heading")
("h" outline-up-heading "up heading")
("s" outline-down-heading "down heading")
("t" org-backward-heading-same-level "backward heading")
("n" org-forward-heading-same-level "forward heading")
;; folding
("k" outline-show-branches "branches")
("<tab>" org-cycle "cycle")
;; modification
("C" org-drag-element-backward "drag backward")
("R" org-drag-element-forward "drag forward")
("H" org-promote-subtree "promote")