mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05:00
org: replaced org-cycle with doom/org-toggle-fold
I didn't like the extra keypress to refold trees that I only intended to peek into. If I want to see the whole tree, I go into it and unfold what I needed. Note, you can still open the entire subtree with zo and cycle the entire page with zA or zO.
This commit is contained in:
@@ -112,6 +112,16 @@ wrong places)."
|
||||
(delete-char 4))
|
||||
(insert "[ ] ")))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/org-toggle-fold ()
|
||||
"Toggle the local fold at the point (as opposed to cycling through all levels
|
||||
with `org-cycle')."
|
||||
(interactive)
|
||||
(cond ((org-at-heading-p)
|
||||
(outline-toggle-children))
|
||||
((org-at-item-p)
|
||||
(org-cycle))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/org-dwim-at-point ()
|
||||
"Do-what-I-mean at point. This includes following timestamp links, aligning
|
||||
|
Reference in New Issue
Block a user